Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: how to speed lookups?

by blazar (Canon)
on Nov 12, 2008 at 19:55 UTC ( #723283=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %isvalid;  # outside of the loop over lines, of course!
    @isvalid{@validbufs}=(1) x @validbufs;
    
  2. or download this
    print $line if $isvalid{$field};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2021-10-23 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (87 votes). Check out past polls.

    Notices?