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 Zhipeng Xie
Recipients Zhipeng Xie, serhiy.storchaka
Date 2019-12-31.09:53:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577786015.9.0.560977365098.issue39146@roundup.psfhosted.org>
In-reply-to
Content
> but range() was here before ebd48b4f650d.

before ebd48b4f650d, _optimize_unicode use xrange. So python2.7.8 is ok and python2.7.9 consume much memory in my test case.

> Obviously there are other causes of the difference between 2.7 and 3.x.

Maybe it is because my python was compiled with --enable-unicode=ucs4.
History
Date User Action Args
2019-12-31 09:53:35Zhipeng Xiesetrecipients: + Zhipeng Xie, serhiy.storchaka
2019-12-31 09:53:35Zhipeng Xiesetmessageid: <1577786015.9.0.560977365098.issue39146@roundup.psfhosted.org>
2019-12-31 09:53:35Zhipeng Xielinkissue39146 messages
2019-12-31 09:53:35Zhipeng Xiecreate