Hi,

I'm about to commit a whole bunch of changes. But one in particular might
be a bit controversial, so I'm going to put it up for a vote.

Sat Mar 13 21:29:38 1999  Geoff Hutchison  <[EMAIL PROTECTED]>

        * htfuzzy/Endings.cc, htfuzzy/EndingsDB.cc, htfuzzy/Synonyms.cc,
        htfuzzy/Fuzzy.cc: Switch databases to DB_HASH for faster access,
        often smaller size.

That's it. The patch changes the method used for external fuzzy databases
to DB_HASH, over DB_BTREE. As it sounds, the hash database provides
somewhat faster access and for unknown reasons seems to take up less disk
space too. However, the speed bonus isn't particularly noticeable on my
system, perhaps because the Endings DB is smallish (English), my Synonym
file is very small, and I don't use Metaphone or Soundex matching (which
might show benefit).

The downside of the change is that it introduces database incompatibility.
This is a problem for the endings and synonym databases, which often don't
change.

I have no preference. The potential speed gain would be nice, but I don't
like the idea of people throwing away old DB... Thoughts?

-Geoff


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to