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_METHODtakes 10 code units, which is considerably larger than other inline caches, and is an obstacle to mergingLOAD_ATTRandLOAD_METHOD(#93430), asLOAD_ATTRis such a common instruction.See faster-cpython/ideas#396 for some ideas on how to shrink the inline cache.
Linked PRs
LOAD_ATTRcaches #103014The text was updated successfully, but these errors were encountered: