Message172166
I left a review on rietveld.
FWIW these are the results of the tests using timeit:
# with int=int
$ ./python -m timeit -s 'from random import random, shuffle; lst = list(range(100000))' 'shuffle(lst, random)'
10 loops, best of 3: 507 msec per loop
# without int=int
$ ./python -m timeit -s 'from random import random, shuffle; lst = list(range(100000))' 'shuffle(lst, random)'
10 loops, best of 3: 539 msec per loop |
|
Date |
User |
Action |
Args |
2012-10-06 04:26:21 | ezio.melotti | set | recipients:
+ ezio.melotti, rhettinger, r.david.murray, serhiy.storchaka, eng793 |
2012-10-06 04:26:21 | ezio.melotti | set | messageid: <1349497581.22.0.368572479976.issue15837@psf.upfronthosting.co.za> |
2012-10-06 04:26:21 | ezio.melotti | link | issue15837 messages |
2012-10-06 04:26:20 | ezio.melotti | create | |
|