in reply to large file and processing efficiency
The summary is: it's better to grab the first word and look it up in a hash than to use a big ol' alternation. If you can't parse out the word, though, you might want to look at Regexp::Optimizer or some such.
|
|---|