Hi,

I just  commited a few changes  within htword.  

Htword is  an indexing  library that can  be used in  other frameworks
than htdig.   The key structure that  is used for indexing  used to be
determined at compile time, a header file WordKey.h was generated by a
perl script from WordKey.h.tmpl.  This implied recompiling the library
each time you wanted to use  a different key structure. I have changed
this and made the keystructure dynamically set.

What difference does it make for htdig ?
* makes the compilation of htword standard (simpler makefiles)
* small increase in performance
* wordkey's occupy a little more memory

Is this a new feature?
Not for htdig, it jus means more portable compiling.

I rewrote the WordKey test in  word.cc, it contains old tests plus new
tests for randomly determined key structures.

For  the  following days  I'll  be  benchmarking  the compression  and
probably tuning a few things there.

Cheers,

Marcel.

PS.
Feel free to make comments/share ideas

Changelog:

Mon Dec 20 17:59:15 1999  Marcel Bosc  <[EMAIL PROTECTED]>

        * WordKey: Made the key structure dynamic: Changing the
        key structure used to imply recompiling the htword library.
        This should not change anything in htdig.

        * WordKey: numerical key fields are stored in an array of unsigned
        ints instead of compile-time defined pools.

        * WordKey.h: WordKey now needs copy opreators. Setbits are stored
        in sort order (used to be in encoding order)

        * htword: word_key_info is now a pointer, had to change all references
        
        * word.cc: Rewrote wordkey test for new dynamically
        set key structure. The test randomly creates key structures
        and tests them.

        * test: adapted test files (simplifies things a lot)
        

    ----------------------

    Marcel Bosc

    ECILA
    100 av. du Gal Leclerc
    93500 Pantin  - France
    Tel:  33 1 56 96 10 85

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to