[issue36030] add internal API function to create tuple without items array initialization

STINNER Victor report at bugs.python.org
Tue Feb 26 10:26:58 EST 2019


STINNER Victor <vstinner at redhat.com> added the comment:

> This optimization also can be used for BUILD_TUPLE opcode and in pickle module, if it's OK to add _PyTuple_StealFromArray() function :-)

I would like to see a micro-benchmark showing that it's faster.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36030>
_______________________________________


More information about the Python-bugs-list mailing list