mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
gh-87729: improve hit rate of LOAD_SUPER_ATTR specialization (#104270)
This commit is contained in:
parent
ddc0e70a32
commit
77262458fe
13 changed files with 374 additions and 352 deletions
|
|
@ -373,6 +373,7 @@ _specializations = {
|
|||
"FOR_ITER_GEN",
|
||||
],
|
||||
"LOAD_SUPER_ATTR": [
|
||||
"LOAD_SUPER_ATTR_ATTR",
|
||||
"LOAD_SUPER_ATTR_METHOD",
|
||||
],
|
||||
"LOAD_ATTR": [
|
||||
|
|
@ -450,9 +451,6 @@ _cache_format = {
|
|||
},
|
||||
"LOAD_SUPER_ATTR": {
|
||||
"counter": 1,
|
||||
"class_version": 2,
|
||||
"self_type_version": 2,
|
||||
"method": 4,
|
||||
},
|
||||
"LOAD_ATTR": {
|
||||
"counter": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue