Welcome to the Monastery | |
PerlMonks |
Re^2: Slow Regex - How to Optimizeby ikegami (Patriarch) |
on Aug 30, 2005 at 22:05 UTC ( [id://487964]=note: print w/replies, xml ) | Need Help?? |
That's not true. m/.../ only recompiles if the contents of any interpolated variable has changed. Demo:
Update: Oops, I didn't notice you reversed the loops in addition to moving the regexp.
In Section
Seekers of Perl Wisdom
|
|