This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, rhettinger, serhiy.storchaka
Date 2017-10-18.18:28:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508351335.86.0.213398074469.issue31815@psf.upfronthosting.co.za>
In-reply-to
Content
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!
History
Date User Action Args
2017-10-18 18:28:55serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ncoghlan
2017-10-18 18:28:55serhiy.storchakasetmessageid: <1508351335.86.0.213398074469.issue31815@psf.upfronthosting.co.za>
2017-10-18 18:28:55serhiy.storchakalinkissue31815 messages
2017-10-18 18:28:55serhiy.storchakacreate