[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like

Serhiy Storchaka report at bugs.python.org
Thu Dec 15 11:28:33 EST 2016


Serhiy Storchaka added the comment:

I have tested all three patches with the stack_overflow.py script. The only affected are recursive Python implementations of __call__, __getitem__ and __iter__.

                        unpatched   less_stack  alloca      subfunc

test_python_call        9696        9876        9880        9876
test_python_getitem     9884        10264       9880        10688
test_python_iterator    7812        8052        8312        8872

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28870>
_______________________________________


More information about the Python-bugs-list mailing list