[issue46702] Specialize UNPACK_SEQUENCE

2022-02-18 Thread Brandt Bucher
Brandt Bucher added the comment: Closing as UNPACK_SEQUENCE_TWO_TUPLE__STORE_FAST__STORE_FAST results in lots of hits, but no performance improvement. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue46702] Specialize UNPACK_SEQUENCE

2022-02-16 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset a9da085015db8cbb81f660158864ac94fe6c67a2 by Brandt Bucher in branch 'main': bpo-46702: Specialize UNPACK_SEQUENCE (GH-31240) https://github.com/python/cpython/commit/a9da085015db8cbb81f660158864ac94fe6c67a2 -- _

[issue46702] Specialize UNPACK_SEQUENCE

2022-02-09 Thread Brandt Bucher
Brandt Bucher added the comment: (I also plan on looking into an adaptive super-duper-instruction for UNPACK_SEQUENCE_TWO_TUPLE__STORE_FAST__STORE_FAST after the current PR has landed). -- ___ Python tracker _

[issue46702] Specialize UNPACK_SEQUENCE

2022-02-09 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +29410 pull_request: https://github.com/python/cpython/pull/31240 ___ Python tracker ___ __

[issue46702] Specialize UNPACK_SEQUENCE

2022-02-09 Thread Brandt Bucher
New submission from Brandt Bucher : 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 th