https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

Henrik Krohns <apa...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5744|0                           |1
        is obsolete|                            |

--- Comment #18 from Henrik Krohns <apa...@hege.li> ---
Created attachment 5746
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5746&action=edit
Meta patch for r1890037 v4


Managed to close the gap to 10% as tested properly with stock ruleset (which
has much less rules than my custom setup and makes meta checks runtime
proportionally longer).

Calling eval 'foobar' anytime is very expensive, especially in such a loop. Now
the meta checks are pre-compiled as subs. A bit similarly as is done on other
ruletypes.

Will commit when it gets a bit of runtime on my live system.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to