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 scoder
Recipients lukasz.langa, mark.dickinson, pitrou, rhettinger, scoder, serhiy.storchaka
Date 2015-04-30.05:30:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> there are three ingredients here - sum, (x)range and the integer addition that sum will be performing at each iteration.

... not to forget the interpreter startup time on his machine. :)

I did a tiny bit of profiling and about 90% of the time seems to be spent creating and deallocating throw-away PyLong objects. My guess is that it simply lacks a free-list in _PyLong_New().
Date User Action Args
2015-04-30 05:30:12scodersetrecipients: + scoder, rhettinger, mark.dickinson, pitrou, lukasz.langa, serhiy.storchaka
2015-04-30 05:30:12scodersetmessageid: <>
2015-04-30 05:30:12scoderlinkissue24076 messages
2015-04-30 05:30:11scodercreate