* gc.c (alloc_some_heap): Further improvement of minimal heap size
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 21 Mar 2000 02:37:59 +0000 (02:37 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Tue, 21 Mar 2000 02:37:59 +0000 (02:37 +0000)
commit1811ebcee5ae525e49bc821707928bd6c9c26f07
tree830fc21d06b78de3f39cff95a85695158bec91cf
parent3afe99cc79de86149937f9dd4682c1d57adcb954
* gc.c (alloc_some_heap): Further improvement of minimal heap size
prediction.
(SCM_MAX): New macro.
(scm_freelist_t): New field: collected_1. Previous amount of
collected cells.
(gc_sweep_freelist_finish): Trigger based on two last values of
freelist->collected to avoid unnecessary allocation due to
temporary peaks.
libguile/gc.c