Bowie Bailey wrote:
[EMAIL PROTECTED] wrote:
While I doubt it'd have quite the performance gains that A-C can
offer, Regexp::Assemble certainly sounds like something worth
trying...
the coderef trick, in particular, is very nifty.
It can work well. After reading about it here, I tried it on one of
my programs that compares about 1600 words and phrases against a
document. My scan time dropped by 30%. This doesn't count the time
taken to assemble the regex (about .27 seconds), but since this
program runs as a daemon and only has to do the assembly once, it
wasn't relevant to me.
Wouldn't assembling all rules into one regex make it impossible to have per
rule scores?