- 22 Aug, 2014 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 21 Aug, 2014 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
split internal method calling helper functions into specialised 0-, 1-, 2- args versions to apply the method call optimisation to them
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
- 17 Aug, 2014 10 commits
-
-
Stefan Behnel authored
move increfs closer to the corresponding variable usages in C code (just in case it helps the C compiler to generate better code) --HG-- extra : amend_source : 93bba856cb71e61c56335b3687337f5c68b62f2c
-
Stefan Behnel authored
-
Stefan Behnel authored
exclude types from method call optimisation again (thinko: we're dealing with the actual types here, not with their attributes)
-
Stefan Behnel authored
exclude local Python classes from method call optimisation (even with metaclasses in place, they are fairly unlikely to return methods)
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
unbound methods/classmethods use PyMethodObject in Py3 as well, so include them in method call optimisation
-
Stefan Behnel authored
-
Robert Bradshaw authored
If cppclass is redefined, make sure the this pointer enters the correct scope
-
Marcus Brinkmann authored
-
- 16 Aug, 2014 10 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
fix test: passing an object into a METH_O Python function no longer stores it in a tuple and thus no longer increases its refcount
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
fine tune method call optimisation to mark likely plain function calls explicitly as unlikely() for the C compiler
-
Stefan Behnel authored
-
Stefan Behnel authored
enable method call optimisation on all simple Python calls as PyMethod_Check() should be cheap enough
-
Stefan Behnel authored
-
Stefan Behnel authored
avoid performance regression in one-arg calling case if the function turns out to be not a method at runtime
-
Stefan Behnel authored
streamline method call optimisation a bit more by freeing method object as early as possible to put it back into CPython's freelist for quick reuse
-
- 15 Aug, 2014 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
- 14 Aug, 2014 9 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Martin Raum authored
The previous commit reveals too much information about the system. With this change only modules of the processed package are expanded. The expanded path reaches no deeper than the package's root.
-
Martin Raum authored
The table of file names written to the c or cpp file contains absolute file paths. This affects, in particular, profiling. The c method __pyx_TraceCall takes as one of its arguments a file name, which will be read from the table of file names.
-
Stefan Behnel authored
-
Stefan Behnel authored
replace PyMapping_Keys() usage by safer code (PyMapping_Keys() may return a tuple, but we try to sort it as a list afterwards)
-