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 methane
Recipients Aaron Hall, anthony shaw, methane, ncoghlan, ronaldoussoren, serhiy.storchaka
Date 2019-04-08.11:21:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554722462.61.0.995866169082.issue36551@roundup.psfhosted.org>
In-reply-to
Content
$ 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
History
Date User Action Args
2019-04-08 11:21:02methanesetrecipients: + methane, ronaldoussoren, ncoghlan, serhiy.storchaka, Aaron Hall, anthony shaw
2019-04-08 11:21:02methanesetmessageid: <1554722462.61.0.995866169082.issue36551@roundup.psfhosted.org>
2019-04-08 11:21:02methanelinkissue36551 messages
2019-04-08 11:21:02methanecreate