From: "Hal E. Fulton" Date: 2003-08-26T02:22:26+09:00 Subject: Re: problem (?) with ruby handling 10^7 elements in one Array ----- Original Message ----- From: "gabriele renzi" Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Monday, August 25, 2003 11:24 AM Subject: Re: problem (?) with ruby handling 10^7 elements in one Array > il Mon, 25 Aug 2003 15:11:04 GMT, gabriele renzi > ha scritto:: > > DOH! > > thanks Ben & Dan for your answers. > Looking it now it seem _so_ obvious to me that this must be related to > the available memory. > What fooled me was that trying similar code in other languages went > fine. Possibly Ruby just uses little more space for Floats. I think it may, since in other languages a float is not always a "true" object. > Sorry for not thinking a little more :) Don't worry, we have all done it. :) Hal -- Hal Fulton hal9000@hypermetrics.com