Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: speeding up a hash lookup

by japhy (Canon)
on Mar 28, 2001 at 01:31 UTC ( [id://67646]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cache = cacheMaxIntensity(\%massint);
    
    ...
      # return a reference to the cache
      return \%cache;
    }
    
  2. or download this
    my $max_I = maxIntensity($cache, $mass);
    
    ...
      my ($c, $m) = @_;
      return $c->{sprintf "%.1f", $m}[0];
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found