The inline cache for LOAD_ATTR
is too large.
#93533
Labels
3.12
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
performance
Performance or resource usage
The inline cache for
LOAD_METHOD
takes 10 code units, which is considerably larger than other inline caches, and is an obstacle to mergingLOAD_ATTR
andLOAD_METHOD
(#93430), asLOAD_ATTR
is such a common instruction.See faster-cpython/ideas#396 for some ideas on how to shrink the inline cache.
Linked PRs
LOAD_ATTR
caches #103014The text was updated successfully, but these errors were encountered: