in reply to Re^3: 5.10.0 regex slowdown
in thread 5.10.0 regex slowdown
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:
[2008-02-22 01:45] <ysth1> I ended up dividing my list into three diff +erent regexes and used them like (?:(??{$rxa})|(??{$rxb})|(??{$rxc}))
Which isnt ideal but better than no trie at all. Sorry about this. :-(
---
$world=~s/war/peace/g
$world=~s/war/peace/g
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: 5.10.0 regex slowdown
by BrowserUk (Patriarch) on Feb 22, 2008 at 01:13 UTC | |
by demerphq (Chancellor) on Feb 22, 2008 at 13:15 UTC |
In Section
Seekers of Perl Wisdom