j.goor has asked for the wisdom of the Perl Monks concerning the following question:
My Question: Isn't it better/faster to use an array of arrays?
In case of the hash I need to "sort {$a <=> $b} keys %hash" for the outer loop, because the key is a counter, while an array implicitly uses this construction already. Also I need to "$counter++" with the hash-solution, which does not makes is faster...
Rgd,
John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need help on performance question
by BrowserUk (Patriarch) on Feb 21, 2003 at 07:58 UTC | |
|
Re: Need help on performance question
by robartes (Priest) on Feb 21, 2003 at 07:48 UTC | |
by Abigail-II (Bishop) on Feb 21, 2003 at 10:55 UTC | |
by robartes (Priest) on Feb 21, 2003 at 11:19 UTC | |
|
Re: Need help on performance question
by schweini (Friar) on Feb 21, 2003 at 08:27 UTC | |
|
Re: Need help on performance question
by thor (Priest) on Feb 21, 2003 at 13:42 UTC |