]> gitweb.factorcode.org Git - factor.git/commitdiff
double default heap sizes on amd64
authorSlava Pestov <slava@factorcode.org>
Wed, 25 Jan 2006 06:26:31 +0000 (06:26 +0000)
committerSlava Pestov <slava@factorcode.org>
Wed, 25 Jan 2006 06:26:31 +0000 (06:26 +0000)
native/factor.c

index 125caa53d3eae58473a8abfa14231403c7d2364e..36a69d3d81f639d2aa934a09d487fc32921f9f6c 100644 (file)
@@ -40,12 +40,12 @@ INLINE bool factor_arg(const char* str, const char* arg, CELL* value)
 int main(int argc, char** argv)
 {
        char *image;
-       CELL ds_size = 2048;
-       CELL cs_size = 2048;
+       CELL ds_size = 512;
+       CELL cs_size = 512;
        CELL generations = 2;
-       CELL young_size = 8;
-       CELL aging_size = 16;
-       CELL code_size = 4;
+       CELL young_size = 2 * CELLS;
+       CELL aging_size = 4 * CELLS;
+       CELL code_size = CELLS;
        CELL literal_size = 128;
        CELL args;
        CELL i;