spambayes-dev  

[spambayes-dev] Stats are very slow

Mark Hammond
Tue, 19 Dec 2006 23:29:58 -0800

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

_______________________________________________
spambayes-dev mailing list
spambayes-dev@python.org
http://mail.python.org/mailman/listinfo/spambayes-dev