We received a report that our published ruleset is slow on large emails (http://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf)

After doing our own profiling (using "Finding slow rules" under http://wiki.apache.org/spamassassin/FasterPerformance), we have not been able to reproduce anything more than the usual slowness from crunching over a very large body of text. Our longest-running rules are simple /(?:foo)|(?:bar)|.../i matches like __KAM_GALLERY2, which I don't believe there is any way to further optimize without sacrificing readability.

Can someone check our work and make sure we aren't doing anything wrong wrt rule performance, or with our profiling that would give bad results?

Reply via email to