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

Comparing liblzf/lzfP.h (file contents):
Revision 1.22 by root, Tue Jun 1 03:17:06 2010 UTC vs.
Revision 1.24 by root, Tue Jun 1 09:11:33 2010 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, up to 23). 52 * For best compression, use 15 or 16 (or more, up to 22).
53 */ 53 */
54#ifndef HLOG 54#ifndef HLOG
55# define HLOG 16 55# define HLOG 16
56#endif 56#endif
57 57
142 142
143#ifndef LZF_USE_OFFSETS 143#ifndef LZF_USE_OFFSETS
144# if defined (WIN32) 144# if defined (WIN32)
145# define LZF_USE_OFFSETS defined(_M_X64) 145# define LZF_USE_OFFSETS defined(_M_X64)
146# else 146# else
147# ifdef __cplusplus 147# if __cplusplus > 199711L
148# include <cstdint> 148# include <cstdint>
149# else 149# else
150# include <stdint.h> 150# include <stdint.h>
151# endif 151# endif
152# define LZF_USE_OFFSETS (UINTPTR_MAX > 0xffffffffU) 152# define LZF_USE_OFFSETS (UINTPTR_MAX > 0xffffffffU)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines