mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
bpo-46841: Use *inline* caching for BINARY_OP
(GH-31543)
This commit is contained in:
parent
18b5dd68c6
commit
0f41aac109
19 changed files with 429 additions and 351 deletions
|
@ -357,7 +357,7 @@ class CodeTest(unittest.TestCase):
|
|||
|
||||
artificial_instructions = []
|
||||
for instr, positions in zip(
|
||||
dis.get_instructions(code),
|
||||
dis.get_instructions(code, show_caches=True),
|
||||
code.co_positions(),
|
||||
strict=True
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue