Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2017-04-27 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (497 votes). Check out past polls.