mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
gh-105481: remove dependency of _inline_cache_entries on opname (#107339)
This commit is contained in:
parent
766d2518ae
commit
d77d973335
5 changed files with 24 additions and 22 deletions
|
@ -347,6 +347,6 @@ _cache_format = {
|
|||
},
|
||||
}
|
||||
|
||||
_inline_cache_entries = [
|
||||
sum(_cache_format.get(opname[opcode], {}).values()) for opcode in range(256)
|
||||
]
|
||||
_inline_cache_entries = {
|
||||
name : sum(value.values()) for (name, value) in _cache_format.items()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue