Brian Kearns <[email protected]> added the comment:

xrange is also slower in min/max for example. list(xrange(n)) should also be 
able to be as fast as range(n), and it isn't.

one optimization would be for listview on an xrange object or xrange iterator 
to 
return a RangeList instead of going through unpackiterable on the xrange.

another optimization is for set creation from iterable to get a jitdriver like 
list extend.

----------
nosy: +bdk
status: unread -> chatting

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1432>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to