AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 1993

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

1993.06.07 10:58 "TIF_LZW hash table size", by Gerardo Gallardo
1993.06.21 19:00 "Re: TIF_LZW hash table size", by Sam Leffler

1993.06.21 19:00 "Re: TIF_LZW hash table size", by Sam Leffler

    To:      tiff@ucbvax.Berkeley.EDU
    Subject: TIF_LZW hash table size
    From:    Gerardo Gallardo <GGALLARD%UCRVM2.BITNET%cmsa.Berkeley.EDU@ucbvax.Berkeley.EDU>
    Date:    Mon, 07 Jun 93 10:58:03 R

    Hi everybody,

    Today i 've been compiling the LZW module for DOS and using Turbo C 2.0
    and I found a problem. there is a hash table into an array of HSIZE size,
    but it is too large to be just an array. HSIZE is 9001, can it be a lower
    number without any problem ????

You can lower the number, but beware that making it too
small can significantly slow down the code.  You should
also be sure to choose your smaller number to be a prime
number.

	Sam