From: Marnen Laibow-Koser Date: 2009-11-10T13:52:42+09:00 Subject: Re: Good or best way to allocate a large array Ralph Shnelvar wrote: > Rick, > > Ok ... but the point is that the objects are not gc'd when things go > out of scope but, instead, when Ruby needs memory, right? > > And if you have a huge array with gobs of objects, the gc is gonna > take a while? Perhaps. But there's no reason to do this. Use a database. Even a file-based DB like SQLite will make your life easier. > > Ralph Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.