From: Florian Gilcher Date: 2009-11-11T06:17:26+09:00 Subject: Re: Good or best way to allocate a large array On Nov 10, 2009, at 4:25 PM, Jonathan Schmidt-Dominé - Developer wrote: > What's about using C or C++ to allocate and deallocate the array? I > do not > think Ruby was made to create such Arrays. All basic Methods in Array (especially #new) are implemented in C, so I don't think you will gain a lot. Implementing the whole algorithm in C might be worthwhile, because you would bypass using a Ruby object for every slot, but the Array is not the issue here. As others have shown, it works reasonably quick. Regards, Florian