[issue29465] Add _PyObject_FastCall() to reduce stack consumption
STINNER Victor
report at bugs.python.org
Tue Feb 7 10:05:00 EST 2017
STINNER Victor added the comment:
Oh, with pyobject_fastcall-4.patch, the stack usage of test_python_iterator is even better. The reference is 1056 bytes/call, pyobject_fastcall-2.patch was 944 bytes/call.
haypo at smithers$ ./python ../default/stack_overflow_28870-sp.py
test_python_call: 9883 calls before crash, stack: 848 bytes/call
test_python_getitem: 10476 calls before crash, stack: 800 bytes/call
test_python_iterator: 9189 calls before crash, stack: 912 bytes/call
=> total: 29548 calls, 2560 bytes
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29465>
_______________________________________
More information about the Python-bugs-list
mailing list