in reply to Re: The need for speed
in thread The need for speed

Since the regex is just looking for a fixed string, wouldn't it be faster to just use index?

next if index($_, 'MsgTrace') == -1;
I like your anchoring idea though. I'll have to remember that one.