[pypy-issue] [issue1091] list(xrange) is slower in PyPy 1.8 than in CPython 2.6.5

Philip Jenvey tracker at bugs.pypy.org
Mon Dec 3 20:23:04 CET 2012


Philip Jenvey <pjenvey at underboss.org> added the comment:

The length-hint branch was merged to default and is included in the pypy 2.0 
betas. It adds PEP 424 support and also optimizes list creation/extend for 
generic iterables such as xrange.

Last time I checked this list(xrange(10000000)) case is now significantly faster 
than CPython

----------
release:  -> 2.0
status: chatting -> resolved

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1091>
________________________________________


More information about the pypy-issue mailing list