BerkeleyDB

Eric Seppanen eds at reric.net
Wed Sep 18 21:38:15 CEST 2002


> >In 0.7.4 bogofilter.c, the function get_word_value() uses all DB calls,
> >whereas before, Judy calls were used.  This is the switch that I am
> >referring to.  Judy is no longer used to store the main database that
> >contains all of the token counts.  What was the rationale behind that
> >change?

> I believe ESR made that change.  Using Judy for the word lists is creating 
> an in-memory database, which takes time to load and uses memory while 
> running.  My understanding is that the BerekelyDB lessens the load time and 
> the memory footprint.

When I asked ESR about it he replied:

| The reason I now use DBM for wordlists is in order to make it possible
| to support wordlist persistence in memory with mmap, rather than through
| the autodaemon approach.



More information about the bogofilter-dev mailing list