Author: Maciej Fijalkowski <[email protected]>
Branch: rdict-experiments-3
Changeset: r67618:a0be44456d2c
Date: 2013-10-25 23:23 +0200
http://bitbucket.org/pypy/pypy/changeset/a0be44456d2c/

Log:    ups tweak this back

diff --git a/rpython/rtyper/lltypesystem/rdict.py 
b/rpython/rtyper/lltypesystem/rdict.py
--- a/rpython/rtyper/lltypesystem/rdict.py
+++ b/rpython/rtyper/lltypesystem/rdict.py
@@ -612,7 +612,7 @@
 @jit.dont_look_inside
 def ll_dict_grow(d):
     # don't reindex the dict if it's tiny
-    if d.num_items < d.num_used_items // 2 and d.num_items >= 32:
+    if d.num_items < d.num_used_items // 2 and d.num_used_items >= 64:
         ll_dict_remove_deleted_items(d)
         return True
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to