in reply to Re: regexp performance on large logfiles
in thread regexp performance on large logfiles
I'm matching surfdata (i.e. url's) against a list of almost a thousand patterns in the first iteration.
The data looks something like:
1217930320 jydawg http://www.perlmonks.org/index.pl
and a relevant pattern might look something like:
*.perlmonks.org
With the large amount of patterns I wonder if I would benefit from Regexp::Assemble or Regexp::Trie.
I'm looking into the other 2 pieces of advise. I don't suppose sticking a Gigabite of text data in an array is a good idea :P. Well maybe in chunks ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regexp performance on large logfiles
by Corion (Patriarch) on Aug 05, 2008 at 10:44 UTC | |
by snl_JYDawg (Initiate) on Aug 05, 2008 at 13:37 UTC | |
by ikegami (Patriarch) on Aug 05, 2008 at 17:47 UTC |