flex speed

michael at optusnet.com.au michael at optusnet.com.au
Tue Aug 5 02:02:28 CEST 2003


Bob Friesenhahn <bfriesen at simple.dallas.tx.us> writes:
> On 5 Aug 2003 michael at optusnet.com.au wrote:
[..]
> > Seriously, all the work in bogofilter is in the tokenizing
> > driven by the very complex token rules. If you want it to
> > run faster (and I do!) then the only way out is to hand-build
> > the lexer.
> 
> Perhaps once the software is mature, creating a hand-built lexer would
> be a worthwhile task.

Indeed, but I suspect that given the ever changing nature of spam,
it's unlikely that it will ever be worth hand-rolling a lexer. :(

[..] 
> > So I gave up and accepted that bogofilter would continue to be
> > 'slow'. ('slow' being a relative term. It's not good more much more
> > than about 100 emails per second. Of course, compared to spamassassin
> > at 3 seconds per email, it's blindingly fast :)
> 
> If SpamAssassin is that slow, then bogofilter is clearly the right
> choice for me.

That was my conclusion too. :)

Michael.




More information about the Bogofilter mailing list