Message412960
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. |
|
Date |
User |
Action |
Args |
2022-02-10 00:35:54 | brandtbucher | set | recipients:
+ brandtbucher, Mark.Shannon |
2022-02-10 00:35:53 | brandtbucher | set | messageid: <1644453353.53.0.226399964433.issue46702@roundup.psfhosted.org> |
2022-02-10 00:35:53 | brandtbucher | link | issue46702 messages |
2022-02-10 00:35:53 | brandtbucher | create | |
|