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

Re: Faster grep in a huge file(10 million)

by educated_foo (Vicar)
on May 10, 2013 at 19:52 UTC ( #1033015=note: print w/replies, xml ) Need Help??

in reply to Faster grep in a huge file(10 million)

Does file1 contain patterns or literal strings? If the latter, you might want to read it into a hash, or sort both files and use a modified merge.
Just another Perler interested in Algol Programming.
  • Comment on Re: Faster grep in a huge file(10 million)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2016-10-21 21:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.