Message304592
With optimized repeat():
$ ./python -m perf timeit --compare-to=../cpython-release/python -s 'from itertools import repeat' 'list(repeat(None, 1000000))'
/home/serhiy/py/cpython-release/python: ..................... 3.77 ms +- 0.06 ms
/home/serhiy/py/cpython-iter/python: ..................... 3.77 ms +- 0.05 ms
Mean +- std dev: [/home/serhiy/py/cpython-release/python] 3.77 ms +- 0.06 ms -> [/home/serhiy/py/cpython-iter/python] 3.77 ms +- 0.05 ms: 1.00x faster (-0%)
Not significant! |
|
Date |
User |
Action |
Args |
2017-10-18 18:28:55 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ncoghlan |
2017-10-18 18:28:55 | serhiy.storchaka | set | messageid: <1508351335.86.0.213398074469.issue31815@psf.upfronthosting.co.za> |
2017-10-18 18:28:55 | serhiy.storchaka | link | issue31815 messages |
2017-10-18 18:28:55 | serhiy.storchaka | create | |
|