[issue28731] _PyDict_NewPresized() creates too small dict

Serhiy Storchaka report at bugs.python.org
Fri Nov 18 08:58:43 EST 2016


Serhiy Storchaka added the comment:

> So how about more small, maximum presize?

I don't know what is the benefit of this, but this change looks correct. The benefit of preresizing is vanishingly small for very large dicts.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28731>
_______________________________________


More information about the Python-bugs-list mailing list