[pypy-svn] r70690 - pypy/branch/cli-jit/pypy/translator/cli/src

antocuni at codespeak.net antocuni at codespeak.net
Mon Jan 18 20:16:06 CET 2010


Author: antocuni
Date: Mon Jan 18 20:16:06 2010
New Revision: 70690

Modified:
   pypy/branch/cli-jit/pypy/translator/cli/src/pypylib.cs
Log:
it seems that some benchmarks requires more than 256 input arguments. The
arrays should grow automatically, but for now just set it to a larger number



Modified: pypy/branch/cli-jit/pypy/translator/cli/src/pypylib.cs
==============================================================================
--- pypy/branch/cli-jit/pypy/translator/cli/src/pypylib.cs	(original)
+++ pypy/branch/cli-jit/pypy/translator/cli/src/pypylib.cs	Mon Jan 18 20:16:06 2010
@@ -113,9 +113,9 @@
     public delegate void LoopDelegate(InputArgs args);
 
     public class InputArgs {
-      public int[] ints = new int[256];
-      public double[] floats = new double[256];
-      public object[] objs = new object[256];
+      public int[] ints = new int[10000];
+      public double[] floats = new double[10000];
+      public object[] objs = new object[10000];
       public object exc_value = null;
       public int failed_op = -1;
 



More information about the Pypy-commit mailing list