On Wed 03 Mar 2010 00:52, l...@gnu.org (Ludovic Courtès) writes:

> l...@gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo <wi...@pobox.com> writes:
>>
>>> But you can't / shouldn't make a new fluid every time you enter a
>>> `catch', because currently fluids are never garbage collected! We really
>>> need to fix this. I think it's a 1.9 regression.
>>
>> Indeed.  We should use a weak vector or some such instead of the current
>> scm_gc_malloc’d array.
>
> Just to clarify: fluids themselves *are* GC’d, but fluid numbers aren’t
> recycled so ALLOCATED_FLUIDS grows endlessly (1 byte per fluid).

One word per make-fluid, per thread, right?

FWIW I don't need fluids to be gc'd any more, though it probably is a
good idea.

A
-- 
http://wingolog.org/


Reply via email to