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