[issue14126] Speed up list comprehensions by preallocating the list where possible
Philip Jenvey
report at bugs.python.org
Sat Mar 3 18:47:12 CET 2012
Philip Jenvey <pjenvey at underboss.org> added the comment:
iter(range(10000)) should also see a speedup because range's iter supports __length_hint__
----------
nosy: +pjenvey
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14126>
_______________________________________
More information about the Python-bugs-list
mailing list