in reply to Re: why does this array take up so much memory?
in thread why does this array take up so much memory?
I'll come back later today to add some proof of concept code. Of course you do take a speed hit and the resize restricition doesn't go away, but this would seem to be a case of trading speed for memory anyway.my $element = $matrix->[$y]->[$x];
Makeshifts last the longest.
|
|---|