in reply to Efficiency of implementation
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Efficiency of implementation
by BrowserUk (Patriarch) on Feb 01, 2012 at 14:06 UTC | |
by Jenda (Abbot) on Feb 01, 2012 at 14:57 UTC | |
by BrowserUk (Patriarch) on Feb 01, 2012 at 15:00 UTC |