… | |
… | |
47 | * Size of hashtable is (1 << HLOG) * sizeof (char *) |
47 | * Size of hashtable is (1 << HLOG) * sizeof (char *) |
48 | * decompression is independent of the hash table size |
48 | * decompression is independent of the hash table size |
49 | * the difference between 15 and 14 is very small |
49 | * the difference between 15 and 14 is very small |
50 | * for small blocks (and 14 is usually a bit faster). |
50 | * for small blocks (and 14 is usually a bit faster). |
51 | * For a low-memory/faster configuration, use HLOG == 13; |
51 | * For a low-memory/faster configuration, use HLOG == 13; |
52 | * For best compression, use 15 or 16 (or more). |
52 | * For best compression, use 15 or 16 (or more, up to 23). |
53 | */ |
53 | */ |
54 | #ifndef HLOG |
54 | #ifndef HLOG |
55 | # define HLOG 15 |
55 | # define HLOG 16 |
56 | #endif |
56 | #endif |
57 | |
57 | |
58 | /* |
58 | /* |
59 | * Sacrifice very little compression quality in favour of compression speed. |
59 | * Sacrifice very little compression quality in favour of compression speed. |
60 | * This gives almost the same compression as the default code, and is |
60 | * This gives almost the same compression as the default code, and is |