- 17 Aug, 2014 9 commits
-
-
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)
-
- 12 Aug, 2014 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
streamline non-C-function fallback code for the 1-arg call case to avoid overhead beyond the type checks
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Robert Bradshaw authored
-
- 11 Aug, 2014 1 commit
-
-
Stefan Behnel authored
simplify WithTargetAssignmentStatNode and make it more robust against replacements of the context manager node; undo node.result() checking as it broke TempNode's disposal code
-
- 10 Aug, 2014 1 commit
-
-
Stefan Behnel authored
when replacing SimpleCallNode with PyMethodCallNode, make sure we replace all cloned references to the node, not only the current one
-