mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
GH-88691: Shrink the CALL caches (GH-103230)
This commit is contained in:
parent
aa5a9b5eb7
commit
b4978ff872
12 changed files with 285 additions and 281 deletions
|
@ -438,6 +438,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# 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.12b1 3525 (Shrink the CALL caches)
|
||||
|
||||
# Python 3.13 will start with 3550
|
||||
|
||||
|
@ -454,7 +455,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 = (3524).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3525).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