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.
In reply to Re: large file and processing efficiency
by Roy Johnson
in thread large file and processing efficiency
by chiragshukla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |