- 07 Jan, 2018 4 commits
-
-
Stefan Behnel authored
Increase number of items for which list.extend([...]) is optimised. Benchmarking shows that append() is still faster for 8 items (on an empty list) than extend(). This limit could be increased for larger lists (which grow by a larger amount), but if we have to settle on one value then 8 is good enough, as we can expect literal item lists to be rather short.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 06 Jan, 2018 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Keep "result_is_used" flag across node replacements in type analysis and optimisations to make sure it's still available at code generation time.
-
- 05 Jan, 2018 1 commit
-
-
Stefan Behnel authored
-
- 03 Jan, 2018 2 commits
-
-
Robert Bradshaw authored
Fixes #2059.
-
Robert Bradshaw authored
This causes the compiler to get confused and reuse the magic `cimport cython` module. See #2057.
-
- 24 Dec, 2017 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 23 Dec, 2017 4 commits
-
-
Stefan Behnel authored
Closes #2048.
-
scoder authored
Undeprecate __richcmp__
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 22 Dec, 2017 7 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Silence C compiler warning about fall-through in switch statement for kw-only argument parsing code.
-
Stefan Behnel authored
Tweak method call fallbacks of dict.get(), dict.setdefault() and dict.pop() into fast unbound method calls to the underlying C function.
-
- 21 Dec, 2017 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 20 Dec, 2017 5 commits
-
-
Stefan Behnel authored
-
scoder authored
Fix #2047: optimize dict.pop() using _PyDict_Pop()
-
Stefan Behnel authored
This reverts commit e1ae63dd.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 19 Dec, 2017 1 commit
-
-
Stefan Behnel authored
-
- 18 Dec, 2017 3 commits
-
-
Stefan Behnel authored
Streamline __Pyx_PySet_Remove() helper function. Add comments about unclean return values of new helper functions. Closes #2042.
-
scoder authored
Issue #2042: add optimized versions of `x in set`, set.remove() and set.discard()
-
Antoine Pitrou authored
-
- 17 Dec, 2017 3 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 16 Dec, 2017 1 commit
-
-
Antoine Pitrou authored
-