Message242259
Ł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:27 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, pitrou, lukasz.langa, serhiy.storchaka |
2015-04-30 03:50:27 | mark.dickinson | set | messageid: <1430365827.22.0.351207260823.issue24076@psf.upfronthosting.co.za> |
2015-04-30 03:50:27 | mark.dickinson | link | issue24076 messages |
2015-04-30 03:50:26 | mark.dickinson | create | |
|