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

Re^2: Store larg hashes more efficiently (10e6 md5s in 260MB at 4Ás per lookup)

by puterboy (Scribe)
on Feb 26, 2013 at 21:06 UTC ( #1020758=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $key = $i & 0xfffff000;
    
  2. or download this
    my $key = ($i & 0xfffff000) >> 3;
    
  3. or download this
    $lookup[ $key ] .= pack 'va16', $i & 0xfff, $md5;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-12-22 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls