in reply to Faster Hash Slices
Switching from a hashref to a hash may slightly improve matters. Accesses to hash elements are slightly faster going direct. Better still would be to abandon the hash altogether and access @aa directly, because array accesses are faster than hash ones, but this change might not be as simple.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Faster Hash Slices
by shmem (Chancellor) on Nov 28, 2013 at 13:38 UTC | |
by BrowserUk (Patriarch) on Nov 28, 2013 at 14:02 UTC | |
by shmem (Chancellor) on Nov 28, 2013 at 15:39 UTC | |
by choroba (Cardinal) on Nov 28, 2013 at 14:18 UTC | |
by BrowserUk (Patriarch) on Nov 28, 2013 at 14:35 UTC | |
by BrowserUk (Patriarch) on Nov 28, 2013 at 15:24 UTC | |
by tobyink (Canon) on Nov 28, 2013 at 14:23 UTC |