wordhashes [was: time test]

David Relson relson at osagesoftware.com
Mon Nov 25 20:49:58 CET 2002


At 02:31 PM 11/25/02, Matthias Andree wrote:


>Now we have (register_messages, not yet in CVS, see my patch):
>
>   do {
>       collect_words(&h, &wordcount, &cont);
>       add_hash(words, h);
>       wordhash_free(h);
>       msgcount++;
>   } while(cont);
>
>   register_words(_run_type, words, msgcount, wordcount);
>   wordhash_free(words);

Matthias,

Nice idea.  Create a new hash for each message (quick), then add the new to 
a cumulative hash.  Clean and simple.

Now, about that patch you keep saying we should look at ...  Just commit 
it, so we can update our machines and use it.  Unexpected defects will make 
themselves evident soon enough.

David






More information about the bogofilter-dev mailing list