[issue28839] _PyFunction_FastCallDict(): replace PyTuple_New() with PyMem_Malloc()

Serhiy Storchaka report at bugs.python.org
Thu Dec 1 04:14:42 EST 2016


Serhiy Storchaka added the comment:

I agree with Josh, PyTuple_New() can be faster than PyMem_Malloc() due to tuple free list. small_stack increases C stack consumption even for calls without keyword arguments. This is serious problem since we can't control stack overflow.

----------

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


More information about the Python-bugs-list mailing list