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 mark.dickinson
Recipients lukasz.langa, mark.dickinson, pitrou, rhettinger, serhiy.storchaka
Date 2015-04-30.03:50:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Łukasz: there are three ingredients here - sum, (x)range and the integer addition that sum will be performing at each iteration.  Is there any chance you can separate the effects on your machine?

On my machine (OS X, 64-bit), I'm seeing *some* speed difference in the integer arithmetic, but not enough to explain the whole of the timing mismatch.

One thing we've lost in Python 3 is the fast path for small-int addition *inside* the ceval loop.  It may be possible to restore something there.
Date User Action Args
2015-04-30 03:50:27mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, pitrou, lukasz.langa, serhiy.storchaka
2015-04-30 03:50:27mark.dickinsonsetmessageid: <>
2015-04-30 03:50:27mark.dickinsonlinkissue24076 messages
2015-04-30 03:50:26mark.dickinsoncreate