Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling Scheme from C and Garbage Collection
Tel <email@example.com> writes:
> > > 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
I think the test for this flag in SCM_NEWCELL would degrade
performance, since consing is done so often.
Guile Home |
Main Index |