Inlining

Matthias Andree matthias.andree at gmx.de
Tue Jan 18 12:15:59 CET 2005


David Relson <relson at osagesoftware.com> writes:

> There are some significant processing differences between bogofilter and
> bogotune.  Given a group of messages, bogofilter iterates through the
> group processing one at a time.  On the other hand, bogotune loads them
> all into memory, splits them for training and tuning (if need be),
> converts each message to an array of spam and ham scores (with database
> lookups, if need be), then does multiple passes over the whole
> collection of messages.  Hopefully, I've included the major phases.
>
> Likely the code can be structured better to fit the above description. 
> IF so, it'll be much cleaner.  I'll take a look, though it won't be
> today.

Most importantly, /comprehensible/. :-)

If bogotune does intermediate steps that bogofilter does not need,
that's fine, it performs a different task.

-- 
Matthias Andree



More information about the bogofilter-dev mailing list