Author: Maciej Fijalkowski <[email protected]>
Branch: rdict-experiments-3
Changeset: r67608:12e93b008934
Date: 2013-10-25 19:48 +0200
http://bitbucket.org/pypy/pypy/changeset/12e93b008934/
Log: fix one benchmarks by tweaking the heuristic here
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
@@ -611,7 +611,7 @@
@jit.dont_look_inside
def ll_dict_grow(d):
- if d.num_items < d.num_used_items // 4:
+ if d.num_items < d.num_used_items // 2:
ll_dict_remove_deleted_items(d)
return True
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit