You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314
  1. /* Do not change these values unless you really know what you are doing;
  2. the pre-computed lookup tables rely on the buffer size being 4kB or
  3. smaller. The buffer size must be a power of two. The lookahead size has
  4. to fit into 6 bits. If you change any of these numbers, you will also
  5. have to adjust the decompressor accordingly.
  6. */
  7. #define BUFSZ 4096
  8. #define LOOKAHEAD 60
  9. #define THRESHOLD 2
  10. #define NCHAR (256+LOOKAHEAD-THRESHOLD)
  11. #define TABLESZ (NCHAR+NCHAR-1)
  12. #define NIL ((unsigned short)-1)