diff options
author | Mark Shannon <mark@hotpy.org> | 2021-06-10 07:46:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 07:46:01 (GMT) |
commit | e117c0283705943189e6b1aef668a1f68f3f00a4 (patch) | |
tree | 2f0ed87b3a6ee853b65b7db260b39d62337e87bd /Objects/odictobject.c | |
parent | 309ab616020f8504ced8ca64f7d7abc2df25a37f (diff) | |
download | cpython-e117c0283705943189e6b1aef668a1f68f3f00a4.zip cpython-e117c0283705943189e6b1aef668a1f68f3f00a4.tar.gz cpython-e117c0283705943189e6b1aef668a1f68f3f00a4.tar.bz2 |
bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter (GH-26595)
* Specialize LOAD_ATTR with LOAD_ATTR_SLOT and LOAD_ATTR_SPLIT_KEYS
* Move dict-common.h to internal/pycore_dict.h
* Add LOAD_ATTR_WITH_HINT specialized opcode.
* Quicken in function if loopy
* Specialize LOAD_ATTR for module attributes.
* Add specialization stats
Diffstat (limited to 'Objects/odictobject.c')
-rw-r--r-- | Objects/odictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c index 6a33910..fb1ac0c 100644 --- a/Objects/odictobject.c +++ b/Objects/odictobject.c @@ -467,7 +467,7 @@ later: #include "Python.h" #include "pycore_object.h" #include <stddef.h> // offsetof() -#include "dict-common.h" +#include "pycore_dict.h" #include <stddef.h> #include "clinic/odictobject.c.h" |