[issue32623] Resize dict on del/pop

STINNER Victor report at bugs.python.org
Wed Jan 24 11:20:32 EST 2018


STINNER Victor <victor.stinner at gmail.com> added the comment:

"This will cause significant performance regression for `dict[a]=None;
del dict[a]` loop. del/pop shouldn't do clear()."

Should we make sure that all dicts have at least MINSIZE entries?

----------

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


More information about the Python-bugs-list mailing list