* init.c (scm_boot_guile_1): Use same initial segment size for
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 14 Mar 2000 15:12:12 +0000 (15:12 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 14 Mar 2000 15:12:12 +0000 (15:12 +0000)
1-word and 2-word segments.  Having the smaller size causes Guile
to GC too often.  Obviously something needs to be done to allow
for a smaller 2-word segment without this to happen.  (The amount
of heap for each type should be automatically adapted to the
application somehow.)

libguile/init.c

index 5299c3f..ef97770 100644 (file)
@@ -459,7 +459,7 @@ scm_boot_guile_1 (SCM_STACKITEM *base, struct main_func_closure *closure)
       scm_ports_prehistory ();
       scm_smob_prehistory ();
       scm_tables_prehistory ();
-      scm_init_storage (0, 8192);
+      scm_init_storage (0, 0);
       scm_init_subr_table ();
       scm_init_root ();
 #ifdef USE_THREADS