Message339614
$ python3 -m timeit -s 'r=range(1000)' -- '[x for x in r]'
5000 loops, best of 5: 40 usec per loop
$ python3 -m timeit -s 'r=range(1000)' -- '[*r]'
20000 loops, best of 5: 17.3 usec per loop |
|
Date |
User |
Action |
Args |
2019-04-08 11:21:02 | methane | set | recipients:
+ methane, ronaldoussoren, ncoghlan, serhiy.storchaka, Aaron Hall, anthony shaw |
2019-04-08 11:21:02 | methane | set | messageid: <1554722462.61.0.995866169082.issue36551@roundup.psfhosted.org> |
2019-04-08 11:21:02 | methane | link | issue36551 messages |
2019-04-08 11:21:02 | methane | create | |
|