|
|
| XP is just a number | |
| PerlMonks |
Re: Slow Regex - How to Optimizeby ikegami (Pope) |
| on Aug 30, 2005 at 22:10 UTC ( #487968=note: print w/ replies, xml ) | Need Help?? |
|
Maybe using a generic regexp, then checking against %SUBS would be better? That eliminates a nested loop and multiple regexp compilations.
Note: I assumed %SUBS keys are subroutine names, not regexps.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||