Message172166
| Author |
ezio.melotti |
| Recipients |
eng793, ezio.melotti, r.david.murray, rhettinger, serhiy.storchaka |
| Date |
2012年10月06日.04:26:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1349497581.22.0.368572479976.issue15837@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|