Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Effecicncy of key-only hash

by brycen (Monk)
on Aug 25, 2008 at 06:26 UTC ( #706633=note: print w/replies, xml ) Need Help??


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.

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 undefining the hash slice (undef @h{qw{a b c d}}).
    []s, HTH, Massa (κς,πμ,πλ)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://706633]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-11-28 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?