]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45609: Specialize STORE_SUBSCR (GH-29242)
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Fri, 19 Nov 2021 10:30:37 +0000 (05:30 -0500)
committerGitHub <noreply@github.com>
Fri, 19 Nov 2021 10:30:37 +0000 (10:30 +0000)
commit036fead695a9a1e1082992d16ab46bca1cd61a25
tree4a3622ca0d0cdc0c69eab7ccf935019c4da37137
parent4575c01b750cd26377e803247c38d65dad15e26a
bpo-45609: Specialize STORE_SUBSCR (GH-29242)

* Specialize STORE_SUBSCR for list[int], and dict[object]

* Adds _PyDict_SetItem_Take2 which consumes references to the key and values.
Include/internal/pycore_code.h
Include/internal/pycore_dict.h
Include/opcode.h
Lib/opcode.py
Lib/test/test_dict.py
Misc/NEWS.d/next/Core and Builtins/2021-10-27-21-00-49.bpo-45609.L1GKPX.rst [new file with mode: 0644]
Objects/dictobject.c
Python/ceval.c
Python/opcode_targets.h
Python/specialize.c