Share

Vipul's Razor

Tracker: Bugs

9 use of $' slows down all regexp matches - ID: 1645290
Last Update: Comment added ( coral )

Hi guys, Justin here from SpamAssassin.

Just came across a bit of a problem with razor-agents 2.82 -- there are a
few places where it uses the forbidden $' perlvar, which, as 'perldoc
perlvar' states, is bad news for regexp performance:

The use of this variable anywhere in a program imposes a
consider-
able performance penalty on all regular expression matches.
See
"BUGS".

patch to follow.


Justin Mason ( jmason ) - 2007-01-26 13:48

9

Closed

Fixed

Richard Soderberg

None

None

Public


Comment ( 1 )

Date: 2007-05-08 22:31
Sender: coralProject Admin


http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312#c10
http://issues.apache.org/SpamAssassin/attachment.cgi?id=3937

razor-agents 2.83 will be released shortly with this fix.


Attached File ( 1 )

Filename Description Download
p patch against razor-agents 2.82 Download

Changes ( 6 )

Field Old Value Date By
status_id Open 2007-05-08 22:31 coral
resolution_id None 2007-05-08 22:31 coral
priority 5 2007-05-08 22:31 coral
assigned_to nobody 2007-05-08 22:31 coral
close_date - 2007-05-08 22:31 coral
File Added 213221: p 2007-01-26 13:48 jmason