Message242260
| Author | mark.dickinson |
|---|---|
| Recipients | lukasz.langa, mark.dickinson, pitrou, rhettinger, serhiy.storchaka |
| Date | 2015-04-30.04:08:30 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1430366910.73.0.553196971989.issue24076@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Throwing out sum, I'm seeing significant slowdown simply from xrange versus range: taniyama:Desktop mdickinson$ python2 -m timeit -s 'x = xrange(3, 10**9, 3)' 'for e in x: pass' 10 loops, best of 3: 5.01 sec per loop taniyama:Desktop mdickinson$ python3 -m timeit -s 'x = range(3, 10**9, 3)' 'for e in x: pass' 10 loops, best of 3: 8.62 sec per loop |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-04-30 04:08:30 | mark.dickinson | set | recipients: + mark.dickinson, rhettinger, pitrou, lukasz.langa, serhiy.storchaka |
| 2015-04-30 04:08:30 | mark.dickinson | set | messageid: <1430366910.73.0.553196971989.issue24076@psf.upfronthosting.co.za> |
| 2015-04-30 04:08:30 | mark.dickinson | link | issue24076 messages |
| 2015-04-30 04:08:30 | mark.dickinson | create | |