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..."
|