kiat has asked for the wisdom of the Perl Monks concerning the following question:
If you have a somewhat large hash to store, is a normal hash a better solution or an annoymous hash? That is
Any difference in speed or performance? Or is it just a matter of preference?my %hash = ( one => "it's a one", two => "it's a two", ); my $hashref = { one => "it's a one", two => "it's a two", };
Hope to hear from you soon and thanks in anticipation :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Anonymous or normal hashes?
by liz (Monsignor) on Jan 09, 2004 at 14:40 UTC | |
by ysth (Canon) on Jan 09, 2004 at 18:02 UTC | |
|
Re: Anonymous or normal hashes?
by Abigail-II (Bishop) on Jan 09, 2004 at 14:47 UTC | |
|
Re: Anonymous or normal hashes?
by borisz (Canon) on Jan 09, 2004 at 14:21 UTC | |
by Abigail-II (Bishop) on Jan 09, 2004 at 14:43 UTC | |
by Hena (Friar) on Jan 09, 2004 at 14:54 UTC | |
by Abigail-II (Bishop) on Jan 09, 2004 at 15:06 UTC | |
by Hena (Friar) on Jan 09, 2004 at 15:40 UTC | |
| |
by borisz (Canon) on Jan 09, 2004 at 15:04 UTC |