New submission from Stefan Behnel <stefan...@behnel.de>:
_PyDict_GetItemIdWithError() looks up interned strings, which always have their hash value initialised. It can call _PyDict_GetItem_KnownHash() directly. ---------- messages: 368506 nosy: scoder priority: low severity: normal stage: needs patch status: open title: _PyDict_GetItemIdWithError() should call _PyDict_GetItem_KnownHash() type: performance versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40575> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com