Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: 5.10.0 regex slowdownby demerphq (Chancellor) |
on Feb 22, 2008 at 00:56 UTC ( [id://669441]=note: print w/replies, xml ) | Need Help?? |
See those BRANCHJ EXACT LONGJMP tuples? They are confusing the optimiser so that it doesnt recognize this as a trie'able sequence. Ill have to think about what i can do about that. I doubt ill have time soon tho. Offline ysth mentioned a cool suggestion:
Which isnt ideal but better than no trie at all. Sorry about this. :-(
--- $world=~s/war/peace/g
In Section
Seekers of Perl Wisdom
|
|