[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC improvements
From: |
Ludovic Courtès |
Subject: |
Re: GC improvements |
Date: |
Tue, 03 Jan 2006 11:16:04 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
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.
> For startup time, I think the best (as in: quickest) would be undump a
> previous run, instead of recalculating all the initialization on every
> run. Not only does this save on GC time, it also bypasses all evaluation.
> Isn't this what Emacs also does?
Don't know, we'd have to investigate further. Still, that wouldn't fix
our greedy-GC problem.
Thanks,
Ludovic.
- Re: GC improvements,
Ludovic Courtès <=