Your regex is way too loose and time consuming.
First, why are you using the /g option?
Second, if the timestamp is always at the start of the line and of a consistant format, using a regex that enshrines that information, and doesn't force the regex engine to check things that are unnecessary, will probably speed things up. Something like:
m/^... $MONTH $DAY $HOUR:$MINUTE:..:.. 20..)/
May help.
In reply to Re: Fast file searching
by BrowserUk
in thread Fast file searching
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |