View Single Post
Old 07-23-2006, 09:07 PM   #6
MaggieL
in the Hour of Scampering
 
Join Date: Jan 2001
Location: Jeffersonville PA (15 mi NW of Philadelphia)
Posts: 4,060
Quote:
Originally Posted by Beestie
If the data types are small and the overall memory footprint is small, I'd definitely go with an array.
Depends on the access patterns. Something somewhat more elaborate than an array is likely called for. Fortunately Ruby has them.
Quote:
Originally Posted by Beestie
Is the data grid completely filled or are there a lot of blanks?
I'm pretty sure Jag knows about sparse arrays.
__________________
"Neither can his Mind be thought to be in Tune,whose words do jarre; nor his reason In frame, whose sentence is preposterous..."

MaggieL is offline   Reply With Quote