[issue28147] Unbounded memory growth resizing split-table dicts

Xiang Zhang report at bugs.python.org
Sun Sep 18 11:01:36 EDT 2016


Xiang Zhang added the comment:

LGTM. But why this change?

-#define ESTIMATE_SIZE(n)  (((n)*3) >> 1)
+#define ESTIMATE_SIZE(n)  (((n)*3+1) >> 1)

----------

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


More information about the Python-bugs-list mailing list