[Spambayes] Upgrade problem

Just van Rossum just@letterror.com
Thu Nov 7 14:21:21 2002


François Granger wrote:

> > after each message you have to wait (up to 10
> > seconds on my machine with my database) before you can continue. Mayb=
e an
> > explicit "Save database" button is an idea?
> 
> With the -d parameter, you can use a anydbm instead of Pickle. With som=
e
> hack it can probably use gdbm as the anydbm db.

Ok, so I did it. With my current setup anydbm uses dbhash/bsddb, and training
(on a single message) performance seems _worse_ than with the pickle (about 20
seconds now, around 10 with pickle). Don't know whether the training itself is
slower or updating the database. Training with my entire corpus took many times
longer as well. Not to mention that the database is now 20 megs instead of 5...
Would gdbm be expected to work faster? (I currently don't even have it.)

Just



More information about the Spambayes mailing list