mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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
|
@ -1108,7 +1108,7 @@ class DisTests(DisTestBase):
|
|||
1 2 LOAD_NAME 0 (a)
|
||||
4 LOAD_CONST 0 (0)
|
||||
6 %s
|
||||
16 RETURN_VALUE
|
||||
10 RETURN_VALUE
|
||||
"""
|
||||
co_list = compile('a[0]', "<list>", "eval")
|
||||
self.code_quicken(lambda: exec(co_list, {}, {'a': [0]}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue