From: Joel VanderWerf Date: 2008-07-30T07:46:30+09:00 Subject: Re: ruby wish-list Roger Pack wrote: > When you garbage collect, fork and have the child "check for garbage" > then report back to the parent on which objects are no longer used. The check for garbage can't be done concurrently with ruby code: a = [] $a = a a = nil depending on how the gc process is scheduled, that empty array may falsely appear to be garbage: # start scan a = [] # scan globals $a = a a = nil # scan locals -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407