This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Zhipeng Xie, serhiy.storchaka
Date 2019-12-31.08:53:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577782415.62.0.625279373983.issue39146@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-12-31 08:53:35serhiy.storchakasetrecipients: + serhiy.storchaka, Zhipeng Xie
2019-12-31 08:53:35serhiy.storchakasetmessageid: <1577782415.62.0.625279373983.issue39146@roundup.psfhosted.org>
2019-12-31 08:53:35serhiy.storchakalinkissue39146 messages
2019-12-31 08:53:35serhiy.storchakacreate