From: Marnen Laibow-Koser Date: 2009-11-10T04:31:21+09:00 Subject: Re: Good or best way to allocate a large array Ralph Shnelvar wrote: > Marnen, > > I am a Ruby newbie but as far as I know, memory gets freed when the > garbage collector gets around to doing it. Right. And as far as I know, it will do that when the object goes out of scope. > > Ralph > > > MLK> The answer to both questions: as far as I know, it will be > deallocated > MLK> when it goes out of scope. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.