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 vstinner
Recipients larry, scoder, serhiy.storchaka, vstinner, xtreak
Date 2019-01-11.17:19:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547227155.68.0.624370973578.issue35582@roundup.psfhosted.org>
In-reply-to
Content
$ ./python -m timeit "iter(())"
Unpatched:  5000000 loops, best of 5: 82.8 nsec per loop
Patched:    5000000 loops, best of 5: 56.3 nsec per loop

That's quite significant. Oh, it's because you converted builtin_iter() from METH_VARARGS to METH_FASTCALL at the same time. Interesting.
History
Date User Action Args
2019-01-11 17:19:17vstinnersetrecipients: + vstinner, scoder, larry, serhiy.storchaka, xtreak
2019-01-11 17:19:15vstinnersetmessageid: <1547227155.68.0.624370973578.issue35582@roundup.psfhosted.org>
2019-01-11 17:19:15vstinnerlinkissue35582 messages
2019-01-11 17:19:15vstinnercreate