[issue33554] Optimize PyDictObject

Serhiy Storchaka report at bugs.python.org
Thu May 17 07:27:30 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Ah, I didn't notice that this affects only dicts with shared keys! Well, this is not related to the issue with OrderedDict which can't have shared keys.

Still we need evidences of the performance benefit. The PR adds >40 lines of code and the benefit should be large enough to compensate the maintaining complexity and possible performance regressions in other parts of the code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33554>
_______________________________________


More information about the Python-bugs-list mailing list