From: "Perry E. Metzger" Date: 2002-08-24T12:39:54+09:00 Subject: Re: Why Ruby Uses Mark-and-Sweep GC? Mauricio Fern�ndez writes: > There's however a problem with bringing generational GC to Ruby. If your > generations are G0 (newer), G1, ..., when marking objects in G0 you > have to go through "root variables"� (frames, globals...) AND the > objects in G1, .., Gn which point to things in G0. This is no different from the generational GC problem in most languages. There are several good monographs on garbage collection out there that explain how one overcomes such problems in practice. ..pm -- Perry E. Metzger perry@piermont.com -- "Ask not what your country can force other people to do for you..."