INADA Naoki <[email protected]> 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 <[email protected]> <https://bugs.python.org/issue32623> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
