http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5717
------- Additional Comments From [EMAIL PROTECTED] 2008-02-21 09:44 ------- Introduced a new subroutine Message::split_into_array_of_short_lines to nicely split a text into array of paragraph chunks of sizes between 1 kB and 2 kB, returning the resulting array. Called from get_decoded_body_text_array() and in Plugin::BodyEval::_check_stock_info (bug 5644, similar to proposed patch there). The more degenerated a mail message text is, the more pronounced a speedup is. Shown elapsed times in seconds for priority 0 tests, as reported in the 'timing' debug line. tests_pri_0: 46 -> 45 s (sample message from bug 5041, s1) (no speedup) tests_pri_0: 62 -> 49 s (sample message from bug 5041, s2) tests_pri_0: 486 -> 82 s (sample message from bug 5041, s3) tests_pri_0: 104 -> 10 s (sample message from bug 5644) tests_pri_0: 22 -> 11 s (sample message from bug 5486) tests_pri_0: 5.7 > 3.8 s (sample message from bug 5795, s1) tests_pri_0: 5.8 > 2.6 s (sample message from bug 5795, s2) tests_pri_0: 38 -> 25 s (0.msg one of our today's messages) tests_pri_0: 12 -> 8 s (1.msg) tests_pri_0: 8.2 4.3 (2.msg) tests_pri_0: 8.0 > 7.6 (3.msg) tests_pri_0: 8.8 > 5.8 (4.msg) $ svn -m 'New sub Message::split_into_array_of_short_lines to nicely split a text into array of paragraph chunks of sizes between 1 kB and 2 kB; bugs: 5717, 5644, 5795, 5486, 5801, 5041' ci Sending SpamAssassin/Message/Node.pm Sending SpamAssassin/Message.pm Sending SpamAssassin/Plugin/BodyEval.pm Committed revision 629888. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
