bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter by markshannon · Pull Request #26595 · python/cpython
Implements four specializations of LOAD_ATTR:
LOAD_ATTR_SLOTfor slots.LOAD_ATTR_SPLIT_KEYSfor attributes in instance dictionaries that have split keys.LOAD_ATTR_HINTfor attributes in instance dictionaries that do not have split keys.LOAD_ATTR_MODULEfor module attributes
There are more specializations of LOAD_ATTR that we want to implement, but this PR is large enough already.