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 brandtbucher
Recipients Mark.Shannon, brandtbucher
Date 2022-02-10.00:35:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644453353.53.0.226399964433.issue46702@roundup.psfhosted.org>
In-reply-to
Content
UNPACK_SEQUENCE already has fast paths for tuples and lists, which make up (literally) 99% of unpackings in the benchmark suite. What's more, two-element tuples make up about two-thirds of all unpackings (though I actually suspect it's even higher, since the unpack_sequence benchmark is definitely skewing the results towards 10-element lists and tuples).

These specializations are trivial to implement and result in a solid 1% improvement overall.
History
Date User Action Args
2022-02-10 00:35:54brandtbuchersetrecipients: + brandtbucher, Mark.Shannon
2022-02-10 00:35:53brandtbuchersetmessageid: <1644453353.53.0.226399964433.issue46702@roundup.psfhosted.org>
2022-02-10 00:35:53brandtbucherlinkissue46702 messages
2022-02-10 00:35:53brandtbuchercreate