Author: Maciej Fijalkowski <fij...@gmail.com> 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 pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit