Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling Scheme from C and Garbage Collection
> > I don't think it's too slow if you just want to do unit testing of a number
> > of
> > new functions, satisfy yourself, and then switch it off again.
>
> Why don't you try it? Add an unconditional call to gc to SCM_NEWCELL,
> compile, and fire it up.
How about a global flag that switches on and off the constant
garbage collecting behaviour and a function available from scheme
to turn it on and off? That would barely slow down the startup
(which we can assume to be relatively bug free) and allow the serious
work to start when required.
- Tel
Guile Home |
Main Index |
Thread Index