diff options
author | scoder <stefan_ml@behnel.de> | 2020-05-11 06:04:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 06:04:31 +0200 |
commit | 6067d4bc3ce5ff4cfa5b47ceecc84a3941bc031c (patch) | |
tree | 3520bec8a7bddf3edfda8aa888306ee841f1eaac /Python/pythonrun.c | |
parent | 5b956ca42de37c761562e9c9aeb96a0e67606e33 (diff) | |
download | cpython-git-6067d4bc3ce5ff4cfa5b47ceecc84a3941bc031c.tar.gz |
bpo-40575: Avoid unnecessary overhead in _PyDict_GetItemIdWithError() (GH-20018)
Avoid unnecessary overhead in _PyDict_GetItemIdWithError() by calling
_PyDict_GetItem_KnownHash() instead of the more generic PyDict_GetItemWithError(),
since we already know the hash of interned strings.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions