- 18 Jun, 2020 19 commits
-
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
gsamain authored
-
- 18 May, 2020 14 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
-
Stefan Behnel authored
-
Sam Sneddon authored
* Fix #3588: Make existing overflow code safe Signed overflow is undefined behaviour in C and compilers can and do optimized on that basis. * Speed up our overflow impls Note this is primarily based on performance of compilers which do not support __builtin_add_overflow (i.e., not Clang >= 3.4 & gcc >= 5), mostly looking at several gcc 4 releases (used by older, supported, RHEL releases and Debian 8 "Jessie") and MSVC. * Use __builtin_XXX_overflow if available This is much quicker in general, as these all just then read the overflow flag from the status register.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Disable GC during hacked calls to PyType_Ready() that simulate a heap type for an actual non-heap type, because it can lead to crashes if GC visits such a hacked type. Closes https://github.com/cython/cython/issues/3603
-
Stefan Behnel authored
Disable GC during hacked calls to PyType_Ready() that simulate a heap type for an actual non-heap type, because it can lead to crashes if GC visits such a hacked type. Closes https://github.com/cython/cython/issues/3603
-
- 17 May, 2020 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Reduce the code overhead of the memoryview implementation a little by disabling CyFunctions for its methods.
-
Stefan Behnel authored
Reduce the code overhead of exception raising in generated Cython code and the memoryview code by avoiding explicit calls to create the exception and prepared constant argument tuples. "raise Exc, message" can do this implicitly.
-
Stefan Behnel authored
Move less common ref-counting cases for memory views out of the fast-path and only look up the atomic acquisition count value once per INC/DEC operation.
-
da-woods authored
When it's merged into the main module, wrap it in a CompilerDirectivesNode.
-
- 16 May, 2020 1 commit
-
-
Stefan Behnel authored
-