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:
> [...]
> we put
> the guardian in a C array of SCMs, `scm_life_guards', which behaves
> similar to `scm_weak_vectors'. (The int `scm_n_life_guards' is reset
> in the beginning of the mark phase and the array is successively
> filled during it.)
Just looked at how scm_weak_vectors are handled. It's nice and fast
and all, but isn't calling `realloc' during `scm_gc_mark' considered
harmful?
Not that I have a better idea...
> /mdj
mike.
Guile Home |
Main Index |
Thread Index