[New-bugs-announce] [issue40575] _PyDict_GetItemIdWithError() should call _PyDict_GetItem_KnownHash()

Stefan Behnel report at bugs.python.org
Sat May 9 05:47:09 EDT 2020


New submission from Stefan Behnel <stefan_ml at 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 <report at bugs.python.org>
<https://bugs.python.org/issue40575>
_______________________________________


More information about the New-bugs-announce mailing list