From: Rick DeNatale Date: 2009-04-30T20:44:07+09:00 Subject: Re: object scope and cleanup On Thu, Apr 30, 2009 at 6:08 AM, 7stud -- wrote: > With garbage collectors, > > out_of_scope == ready_for_destruction Actually, "out of scope" isn't really the right concept here, the storage taken up by an object is eligible to be reclaimed by a properly implemented GC iff it is not reachable by transitive closure from one or more of a known set of root objects (like globals, and active stack frames). -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale