Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Multiple patterns match in a big file and track the counts of each pattern matched

by ansh007 (Novice)
on Nov 28, 2017 at 11:35 UTC ( [id://1204419]=note: print w/replies, xml ) Need Help??


in reply to Re: Multiple patterns match in a big file and track the counts of each pattern matched
in thread Multiple patterns match in a big file and track the counts of each pattern matched

It takes 10 to 11secs to parse the whole file. That's how I knew matching takes time. If I give only one pattern, it takes 1min+ and slowly it increases. I need to make sure, it doesn't take much memory or CPU and it must run within 30-35 secs.

  • Comment on Re^2: Multiple patterns match in a big file and track the counts of each pattern matched

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-26 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found