in reply to Matching simple patterns - is there a faster way?
Any ideas?
The regex engine is always slower, but it really doesn't matter, 1000s of files isn't that much
So for now regex matching is still faster. I am doing more testing to make sure this is the correct result.
Post your code, your benchmark might be flawed ( Compare to this benchmark Re: regex alternation )
|
---|