mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -435,7 +435,9 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Python 3.12a6 3519 (Modify SEND instruction)
|
||||
# Python 3.12a6 3520 (Remove PREP_RERAISE_STAR, add CALL_INTRINSIC_2)
|
||||
# Python 3.12a7 3521 (Shrink the LOAD_GLOBAL caches)
|
||||
# Python 3.12a7 3522 (Removed JUMP_IF_FALSE_OR_POP/JUMP_IF_TRUE_OR_POP)
|
||||
# Python 3.12a7 3523 (Convert COMPARE_AND_BRANCH back to COMPARE_OP)
|
||||
# Python 3.12a7 3524 (Shrink the BINARY_SUBSCR caches)
|
||||
|
||||
# Python 3.13 will start with 3550
|
||||
|
||||
|
@ -452,7 +454,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
|
||||
# in PC/launcher.c must also be updated.
|
||||
|
||||
MAGIC_NUMBER = (3523).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3524).to_bytes(2, 'little') + b'\r\n'
|
||||
|
||||
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue