![]() |
|
XP is just a number | |
PerlMonks |
Re: Slow Regex - How to Optimizeby dave_the_m (Prior) |
on Aug 30, 2005 at 21:50 UTC ( #487961=note: print w/replies, xml ) | Need Help?? |
You code causes the regex to be recompiled each time round the inner loop.
A slight rearrangement should improve things:
Dave.
In Section
Seekers of Perl Wisdom
|
|