in reply to
Re^3: Effecicncy of key-only hash
in thread
Effecicncy of key-only hash
Since I'm in mod_perl I don't care at all how fast the hash initializes. I only care about the memory footprint, and to a lesser extent the lookup time.
Comment on
Re^4: Effecicncy of key-only hash
Replies are listed 'Best First'.
Re^5: Effecicncy of key-only hash
by
massa
(Hermit)
on Aug 25, 2008 at 11:38 UTC
Then (according to all benchmarks here) you should go with
undef
ining the hash slice (
undef @h{qw{a b c d}}
).
[]s, HTH, Massa (κς,πμ,πλ)
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom