On 12/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>    Kenny> Of course, this only solves part of the problem because we would
>    Kenny> still take a huge hit when displaying the statistics. It might be
>    Kenny> worth considering an optimization to store the actual statistics
>    Kenny> values instead of calculating them at the start of every Outlook
>    Kenny> session.
>
> That occurred to me after my reply.  I suspect it's probably the way to go.

I checked in an initial update to delay the calculation of the
persistent stats until the GetStats() call because that was the easy
update. In the case where you never actually view the stats in
SpamBayes Manager, this should help. Let me know if you see any
oddities in the stats calculation after this.

The complete fix is a little more involved, so I'll have to defer that
until I have more time to test it thoroughly.

-- 
Kenny Pitt
_______________________________________________
spambayes-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-dev

Reply via email to