[issue14126] Speed up list comprehensions by preallocating the list where possible

Mark Shannon report at bugs.python.org
Sat Mar 3 22:19:48 CET 2012


Mark Shannon <mark at hotpy.org> added the comment:

Could you run the benchamrks at http://hg.python.org/benchmarks/
and report the results, for 3.3 (rather than 2.7), please?

Adding a new bytecode because it speeds up one 4 line program does not seem such a good idea.

----------
nosy: +Mark.Shannon

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


More information about the Python-bugs-list mailing list