mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Shrink the LOAD_METHOD cache by one codeunit. (#93537)
This commit is contained in:
parent
75ceae05c1
commit
f012df706c
8 changed files with 12 additions and 18 deletions
|
@ -65,7 +65,6 @@ typedef struct {
|
|||
typedef struct {
|
||||
_Py_CODEUNIT counter;
|
||||
_Py_CODEUNIT type_version[2];
|
||||
_Py_CODEUNIT dict_offset;
|
||||
_Py_CODEUNIT keys_version[2];
|
||||
_Py_CODEUNIT descr[4];
|
||||
} _PyLoadMethodCache;
|
||||
|
|
2
Include/internal/pycore_opcode.h
generated
2
Include/internal/pycore_opcode.h
generated
|
@ -49,7 +49,7 @@ const uint8_t _PyOpcode_Caches[256] = {
|
|||
[COMPARE_OP] = 2,
|
||||
[LOAD_GLOBAL] = 5,
|
||||
[BINARY_OP] = 1,
|
||||
[LOAD_METHOD] = 10,
|
||||
[LOAD_METHOD] = 9,
|
||||
[CALL] = 4,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue