- 18 May, 2020 1 commit
-
-
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 14 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Also mark the case of an uninitialised memory view slice as "unlikely()" when refcounting it since it's most probably not a performance critical case.
-
Stefan Behnel authored
Mark the last deletion of a memory view slice as "unlikely()" to ask the C compiler to optimise for the repeated re-use case (usually in loops).
-
Stefan Behnel authored
-
Stefan Behnel authored
Mark the first creation of a memory view slice as "unlikely()" to ask the C compiler to optimise for the repeated re-use case (usually in loops).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix up the NumPy warnings hack by using the actual "import_array()" function declaration instead of a wrong one.
-
jbrockmendel authored
-
jbrockmendel authored
-
- 15 May, 2020 19 commits
-
-
Stefan Behnel authored
Also mark the case of an uninitialised memory view slice as "unlikely()" when refcounting it since it's most probably not a performance critical case.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Mark the last deletion of a memory view slice as "unlikely()" to ask the C compiler to optimise for the repeated re-use case (usually in loops).
-
Stefan Behnel authored
-
Stefan Behnel authored
Mark the first creation of a memory view slice as "unlikely()" to ask the C compiler to optimise for the repeated re-use case (usually in loops).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
Closes https://github.com/cython/cython/issues/3594
-
da-woods authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/1462
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Move the work directory of the examples tests into an 'examples/' subdirectory to get it out of the way of the other test types.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Move the work directory of the examples tests into an 'examples/' subdirectory to get it out of the way of the other test types.
-