Ludovic Courtès wrote:
[EMAIL PROTECTED] (Han-Wen Nienhuys) writes:


I think that GUILE creates garbage as a side effect of evaluating
code. If think that nothing needs to be swept, try disabling GC during
startup, and see how well it performs memory-wise.


I did try commenting out all calls to `scm_i_gc ()' and running my
workload again.  Actually, it doesn't make a big difference: a lot of
time is still spent in `scm_i_sweep_card ()', called from
`scm_i_sweep_some_cards ()' and friends.

the easiest way is to modify

  scm_gc_for_newcell()


so it directly passes to the

  scm_i_get_new_heap_segment (freelist, abort_on_error);

case

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to