mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
GH-89987: Shrink the BINARY_SUBSCR caches (GH-103022)
This commit is contained in:
parent
e647dbaded
commit
121057aa36
14 changed files with 272 additions and 250 deletions
|
@ -731,13 +731,13 @@ const struct opcode_metadata _PyOpcode_opcode_metadata[256] = {
|
|||
[BINARY_OP_INPLACE_ADD_UNICODE] = { true, INSTR_FMT_IX },
|
||||
[BINARY_OP_ADD_FLOAT] = { true, INSTR_FMT_IXC },
|
||||
[BINARY_OP_ADD_INT] = { true, INSTR_FMT_IXC },
|
||||
[BINARY_SUBSCR] = { true, INSTR_FMT_IXC000 },
|
||||
[BINARY_SUBSCR] = { true, INSTR_FMT_IXC },
|
||||
[BINARY_SLICE] = { true, INSTR_FMT_IX },
|
||||
[STORE_SLICE] = { true, INSTR_FMT_IX },
|
||||
[BINARY_SUBSCR_LIST_INT] = { true, INSTR_FMT_IXC000 },
|
||||
[BINARY_SUBSCR_TUPLE_INT] = { true, INSTR_FMT_IXC000 },
|
||||
[BINARY_SUBSCR_DICT] = { true, INSTR_FMT_IXC000 },
|
||||
[BINARY_SUBSCR_GETITEM] = { true, INSTR_FMT_IXC000 },
|
||||
[BINARY_SUBSCR_LIST_INT] = { true, INSTR_FMT_IXC },
|
||||
[BINARY_SUBSCR_TUPLE_INT] = { true, INSTR_FMT_IXC },
|
||||
[BINARY_SUBSCR_DICT] = { true, INSTR_FMT_IXC },
|
||||
[BINARY_SUBSCR_GETITEM] = { true, INSTR_FMT_IXC },
|
||||
[LIST_APPEND] = { true, INSTR_FMT_IB },
|
||||
[SET_ADD] = { true, INSTR_FMT_IB },
|
||||
[STORE_SUBSCR] = { true, INSTR_FMT_IXC },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue