Perl: the Markov chain saw | |
PerlMonks |
Re^3: Matching against list of patternsby Eyck (Priest) |
on Sep 17, 2004 at 07:09 UTC ( [id://391695]=note: print w/replies, xml ) | Need Help?? |
Let me try decompile/understand what's going on here, One obvious improvement is using /o, right? The other is unwinding foreach loop into linear list of matches, what is the gain in that? We avoid walking the array, but I never thought that operation is that costly? Is this what's going on or am I missing something?
In Section
Seekers of Perl Wisdom
|
|