gh-100288: Specialise LOAD_ATTR_METHOD for managed dictionaries (GH-100289)

This commit is contained in:
Ken Jin 2022-12-24 00:26:42 +08:00 committed by GitHub
parent 7fc7909677
commit c3c7848a48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 101 additions and 43 deletions

View file

@ -336,6 +336,7 @@ _specializations = {
# These will always push [unbound method, self] onto the stack.
"LOAD_ATTR_METHOD_LAZY_DICT",
"LOAD_ATTR_METHOD_NO_DICT",
"LOAD_ATTR_METHOD_MANAGED_DICT",
"LOAD_ATTR_METHOD_WITH_DICT",
"LOAD_ATTR_METHOD_WITH_VALUES",
],