mirror of
https://github.com/python/cpython.git
synced 2025-09-05 16:31:16 +00:00
bpo-44826: Specialize STORE_ATTR (GH-27590)
* Generalize cache names for LOAD_ATTR to allow store and delete specializations. * Factor out specialization of attribute dictionary access. * Specialize STORE_ATTR.
This commit is contained in:
parent
b854557b49
commit
ac75f6bdd4
9 changed files with 345 additions and 93 deletions
|
@ -233,6 +233,10 @@ _specialized_instructions = [
|
|||
"LOAD_GLOBAL_ADAPTIVE",
|
||||
"LOAD_GLOBAL_MODULE",
|
||||
"LOAD_GLOBAL_BUILTIN",
|
||||
"STORE_ATTR_ADAPTIVE",
|
||||
"STORE_ATTR_SPLIT_KEYS",
|
||||
"STORE_ATTR_SLOT",
|
||||
"STORE_ATTR_WITH_HINT",
|
||||
]
|
||||
|
||||
_specialization_stats = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue