[issue28509] dict.update allocates too much
Raymond Hettinger
report at bugs.python.org
Wed Oct 26 00:17:40 EDT 2016
Raymond Hettinger added the comment:
FWIW, I prefer the existing code be left as is. We've already greatly compacted the dictionaries. There is no need to be ultra-aggressive in shaving off every little corner. There is some advantage to having the dict be more sparse (fewer collisions, quicker insertion time for the update, quicker lookups etc).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28509>
_______________________________________
More information about the Python-bugs-list
mailing list