in reply to Matching simple patterns - is there a faster way?
I benchmarked the code replacing the 'print' with '{ }':
Your not testing print, are you?Rate index regex regex 1562500/s -- -34% index 2380952/s 52% --
What is funny, is that I ran the code 3 times, and the exact same result occurred all 3 times. I usually take the middle one!
"Well done is better than well said." - Benjamin Franklin
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Matching simple patterns - is there a faster way?
by mrguy123 (Hermit) on Aug 09, 2012 at 11:49 UTC | |
by flexvault (Monsignor) on Aug 09, 2012 at 14:15 UTC | |
Re^2: Matching simple patterns - is there a faster way?
by mrguy123 (Hermit) on Aug 09, 2012 at 12:15 UTC |