From: martindemello@... Date: 2002-11-10T07:23:10+09:00 Subject: Re: Multi-dimensional (like 2) arrays in Ruby Charles Hixson wrote: >> > It does, but that's a slow implementation, though flexible. I have been > trying to figure out NArray, and bouncing. This is less flexible, but > much faster. (However it depends on knowing the size of all but the > last dimension of the array at indexing time -- like the way that > Fortran does it, only a bit more dynamic.) I implemented a fixed-size n-dimensional array class in Ruby once (mostly because I wanted something that supported multidimensional slices), but it was terribly slow (to the point of uselessness). I might try it again as a way to learn about C extensions some day. martin