[Spambayes] Using mxBeeBase as hammie DB

M.-A. Lemburg mal@lemburg.com
Thu Oct 17 13:39:24 2002


This is a multi-part message in MIME format.
---------------------- multipart/mixed attachment
Guido van Rossum wrote:
>>M.-A. Lemburg wrote:
>>
>>>Is anyone interested in trying out mxBeeBase as hammie DB ?
>>>
>>>It is pretty fast, portable and seems to work out nicely.
>>>Oh yes, and the generated DB files are much smaller than
>>>for e.g. hammie with dbm backend.
>>>
>>>You do need the latest egenix-mx-base-2.1.0b5 installed
>>>though.
>>
>>Just to put some numbers by the fishes:
>>
>>Teaching hammie 13000 messages from comp.lang.python
>>gives a database size of 23MB (that's data + index).
>>
>>Checking a single message takes 200ms on my Athlon 1200
>>(this includes Python startup time).
> 
> 
> Can you post or (better!) check in a variant of hammie with this
> enabled?  I'd like to see this!

I'd need checkin rights for that.

Here's the drop-in file (I've renamed hammie.py to spambayes.py).

The latest beta of egenix-mx-base is here:

http://www.egenix.com/files/python/egenix-mx-base-2.1.0b5.tar.gz

To install: run "python2.2 setup.py install".

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/

---------------------- multipart/mixed attachment
A non-text attachment was scrubbed...
Name: spambayes.py
Type: text/x-python
Size: 13029 bytes
Desc: not available
Url : http://mail.python.org/pipermail-21/spambayes/attachments/20021017/1f907181/spambayes.py

---------------------- multipart/mixed attachment--