Author: Armin Rigo <[email protected]>
Branch: stm-thread
Changeset: r55475:1e8fe0bdddc8
Date: 2012-06-07 18:59 +0200
http://bitbucket.org/pypy/pypy/changeset/1e8fe0bdddc8/

Log:    Tweak: it seems that 9 gives better results than both 7 or 11 (the
        default).

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -404,6 +404,10 @@
         config.objspace.std.suggest(withcelldict=True)
         config.objspace.std.suggest(withmapdict=True)
 
+    # tweaks some parameters with STM
+    if config.translation.stm:
+        config.objspace.std.suggest(methodcachesizeexp=9)
+
 
 def enable_allworkingmodules(config):
     if config.translation.type_system == 'ootype':
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to