[issue33234] Improve list() pre-sizing for inputs with known lengths

STINNER Victor report at bugs.python.org
Sat Mar 7 04:22:57 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

See also bpo-14126: "Speed up list comprehensions by preallocating the list where possible".

----------

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


More information about the Python-bugs-list mailing list