Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Matching simple patterns - is there a faster way?

by mrguy123 (Hermit)
on Aug 09, 2012 at 12:15 UTC ( #986505=note: print w/replies, xml ) Need Help??


in reply to Re: Matching simple patterns - is there a faster way?
in thread Matching simple patterns - is there a faster way?

Hi flexvault, I am assuming you did the benchmark on the 'yabba dabba doo' example, which makes perfect sense because that is what I posted.
However, the real data is much larger and that may cause the difference in the benchmark
You can see my code example below for regex/index matching with larger amount of data
  • Comment on Re^2: Matching simple patterns - is there a faster way?