http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5691





------- Additional Comments From [EMAIL PROTECTED]  2007-10-19 08:47 -------
Created an attachment (id=4168)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=4168&action=view)
gzipped small test perl program, simulating the case

Depends on what one considers a bug. I'd say it is a SpamAssassin bug.

Attached is a small perl program which defines an array of text chunks
from the very same sample mail in question, and runs them through
two of the most time-consuming rules as reported in the timing report.
The string encoding and its utf8 flag is the same as it really happens
in the real command-line spamassassin run, eval'ed under compiled body tests.

What is amazing is that if utf8 flag in the text(!) is turned off
it runs 30 times faster!

  bytes t = 0.120686 s
  chars t = 3.617508 s

(btw, I gzipped the test program to make sure the 8-bit characters
will remain intact)




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

Reply via email to