Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

We usually do not backport optimizations to 2.7. It could be backported if a 
regression was introduced in one of 2.7 bugfixes, but range() was here before 
ebd48b4f650d.

Also, range(0x10000,0x10ffff+1) takes only 32*2**16 = 2 MiB of memory. It is 
small in comparison with total memory consumption. Obviously there are other 
causes of the difference between 2.7 and 3.x.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39146>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to