Stats are very slow

"Mark Hammond" <[email protected]>
Newsgroups gmane.mail.spam.spambayes.devel
Message-ID <[email protected]>
Hi guys,

I'm playing a little more with integrating the outlook addin with Skip's
ocrad code and making some progress.  However, I noticed that while
spambayes was taking much less than a second to load my (bsddb) databases,
it takes nearly 30 seconds to load the stats!

Specifically, this line in addin.py is the culprit:

        self.stats = bayes_stats.Stats(bayes_options,
                                       self.classifier_data.message_db)

I've not even looked inside that module yet, but that seems quite extreme,
to the point I'm not sure the feature is worth that cost...  I guess the
code is reading each record of my message DB (which is 85MB) - but does
anyone have any insights?

Cheers,

Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.