Ezio Melotti added the comment:

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

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15837>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to