[cvs] bogofilter/src word.h,1.16,1.17

Matthias Andree matthias.andree at gmx.de
Mon Mar 14 00:43:50 CET 2005


David Relson <relson at osagesoftware.com> writes:

> Even simpler, you take advantage of the fact that word_new() runs strlen
> () if it's given a non-null pointer and a zero length:
>
> #define word_news(cstring) word_new(cstring, 0)

I'd seen this and was about to remove
that code later to speed word_new up.

We know when we need strlen(). :-)

-- 
Matthias Andree
_______________________________________________
Bogofilter-dev mailing list
Bogofilter-dev at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev



More information about the bogofilter-dev mailing list