ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzfP.h
(Generate patch)

Comparing liblzf/lzfP.h (file contents):
Revision 1.17 by root, Mon Nov 5 23:28:40 2007 UTC vs.
Revision 1.19 by root, Tue Nov 13 11:30:37 2007 UTC

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
61 * (very roughly) 15% faster. This is the preferable mode of operation. 61 * (very roughly) 15% faster. This is the preferred mode of operation.
62 */ 62 */
63
64#ifndef VERY_FAST 63#ifndef VERY_FAST
65# define VERY_FAST 1 64# define VERY_FAST 1
66#endif 65#endif
67 66
68/* 67/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines