From: Gregory Seidman Date: 2008-11-17T23:14:04+09:00 Subject: Re: [][100000000] = 1 whee! On Mon, Nov 17, 2008 at 09:56:39PM +0900, Mike Austin wrote: > :) Just curious as to why Ruby automatically increases an array's size > when items are added. I could see where it would be convenient, but it > also seems like bad practice. One can, and should use a hash as a sparse > array. Your answer is in your question. "One can, and should, use a hash as a sparse array." If you want a sparse array, use a Hash. And Array is an array, and acts like one. > Mike --Greg