mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
bpo-46841: Use inline caching for UNPACK_SEQUENCE (GH-31591)
This commit is contained in:
parent
c32aef4853
commit
424ecab494
7 changed files with 39 additions and 29 deletions
1
Include/opcode.h
generated
1
Include/opcode.h
generated
|
|
@ -241,6 +241,7 @@ static uint32_t _PyOpcode_Jump[8] = {
|
|||
#define NB_INPLACE_XOR 25
|
||||
|
||||
static const uint8_t _PyOpcode_InlineCacheEntries[256] = {
|
||||
[UNPACK_SEQUENCE] = 1,
|
||||
[BINARY_OP] = 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue