[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like
STINNER Victor
report at bugs.python.org
Mon Jan 2 20:40:46 EST 2017
STINNER Victor added the comment:
no_small_stack.patch: And now something completely different, a patch to remove the "small stack" alllocated on the C stack, always use the heap memory. FYI I created no_small_stack.patch from less_stack.patch.
As expected, the stack usage is lower:
* less_stack.patch: 384 bytes/call
* no_small_stack.patch: 368 bytes/call
I didn't check the performance of no_small_stack.patch yet.
----------
Added file: http://bugs.python.org/file46120/no_small_stack.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28870>
_______________________________________
More information about the Python-bugs-list
mailing list