[issue36551] Optimize list comprehensions with preallocate size and protect against overflow
Inada Naoki
report at bugs.python.org
Mon Apr 8 08:33:36 EDT 2019
Inada Naoki <songofacandy at gmail.com> added the comment:
"useful" doesn't mean "use it as-is".
It is just a hint. It will be wrong.
See here for list example:
https://github.com/python/cpython/blob/7a0630c530121725136526a88c49589b54da6492/Objects/listobject.c#L929-L940
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36551>
_______________________________________
More information about the Python-bugs-list
mailing list