I did not spend enough time to be sure, but it doesn't look like your matrix is sparse and the indices are integers so ... why hash? An array of arrays would work better and take up less space.
And actually ... why AoA? I think you should be using PDL
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re: Efficiency of implementation
by Jenda
in thread Efficiency of implementation
by azheid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |