Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dybvig's Guardians etc.
Mikael Djurfeldt <mdj@nada.kth.se> writes:
> Guardians are smobs with two fields in the malloc: `live' and
> `zombies'. These are ordinary lists, just as in your
> implementation.
It would be better if these were FIFO's, like in Dybvig's paper. So,
I'd suggest to replace them with `live_head', `live_tail' etc.
> On the other hand, if we want to be really neat, we should put
> `scm_marked_p' in gc.c
Since we want to be neat *and* efficient, we place the macro
SCM_MARKED_P in gc.h. :)
/mdj
Guile Home |
Main Index |
Thread Index