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

STINNER Victor report at bugs.python.org
Thu Dec 15 08:45:37 EST 2016


STINNER Victor added the comment:

I also tried to use alloca(): see attached alloca.patch. But the result is quite bad: 528 bytes of stack memory per call. I only attach the patch to discuss the issue, but I now dislike the option: the result is bad, it's less portable and more dangerous.

----------
Added file: http://bugs.python.org/file45917/alloca.patch

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


More information about the Python-bugs-list mailing list