This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GC questions.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]