mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
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.
This commit is contained in:
parent
4575c01b75
commit
036fead695
10 changed files with 241 additions and 71 deletions
|
@ -238,6 +238,9 @@ _specialized_instructions = [
|
|||
"BINARY_SUBSCR_LIST_INT",
|
||||
"BINARY_SUBSCR_TUPLE_INT",
|
||||
"BINARY_SUBSCR_DICT",
|
||||
"STORE_SUBSCR_ADAPTIVE",
|
||||
"STORE_SUBSCR_LIST_INT",
|
||||
"STORE_SUBSCR_DICT",
|
||||
"CALL_FUNCTION_ADAPTIVE",
|
||||
"CALL_FUNCTION_BUILTIN_O",
|
||||
"CALL_FUNCTION_BUILTIN_FAST",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue