http://bugzilla.spamassassin.org/show_bug.cgi?id=3331





------- Additional Comments From [EMAIL PROTECTED]  2004-08-12 17:31 -------
Subject: Re:  [review] Bayes option to keep original token as db data (not key).

On Thu, Aug 12, 2004 at 05:22:47PM -0700, [EMAIL PROTECTED] wrote:
> 
> so I haven't looked recently, but what am I missing here?   tok_pack gets
> called with the raw data, it does the SHA1 and the raw data if necessary.
> the rest of the time, the raw token ought to be passed around internally
> anyway.
> 
> this shouldn't be a big time suck.
> 

The SHA1 happens in tokenize, as the code stands today the
tok_pack/tok_unpack methods have no idea what the raw token value is.

The new code passes the raw_token down the various levels, along with
the SHA1 token and when it gets to tok_pack packs it into the value
portion with the SHA1 token as the key.

Michael





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to