[issue32623] Resize dict on del/pop
INADA Naoki
report at bugs.python.org
Wed Jan 24 19:46:17 EST 2018
INADA Naoki <songofacandy at gmail.com> added the comment:
> Should we make sure that all dicts have at least MINSIZE entries?
I don't think so. I think "allocate on first insert" is good idea for dict.clear()
And I think it's good idea for new dict too:
https://github.com/python/cpython/pull/1080
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32623>
_______________________________________
More information about the Python-bugs-list
mailing list