|
From: | Han-Wen Nienhuys |
Subject: | Re: GC improvements |
Date: | Wed, 04 Jan 2006 02:03:27 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Ludovic Courtès wrote:
address@hidden (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 - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] | Current Thread | [Next in Thread] |