This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: GC questions.
- To: hanwen at cs dot uu dot nl
- Subject: Re: GC questions.
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 21 May 2000 16:05:28 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <14631.60541.796607.110356@dokkum.cs.uu.nl>
Han-Wen Nienhuys <hanwen@cs.uu.nl> writes:
> * I am puzzled by GUILE_NEW_GC_SCHEME. What is it? Why is it optional?
> It makes reading gc.c a pain.
I recently implemented a new GC policy. It was good to keep both in
parallel for a while in order to be able to compare performance.
I think I'm satisfied enough with the new GC policy that we can remove
the old one now.
> * Why does gc.c use malloc for getting more heap? Wouldn't it be
> quicker/easier to skip malloc and do a mmap("/dev/zero") directly?
mmap doesn't exist on all systems and this is not a time critical
operation.