// Fast data compression library // Copyright (C) 2006-2011 Lasse Mikkel Reinhold // lar@quicklz.com // // QuickLZ can be used for free under the GPL 1, 2 or 3 license (where anything // released into public must be open source) or under a commercial license if such // has been acquired (see http://www.quicklz.com/order.html). The commercial license // does not cover derived or ported versions created by third parties under GPL.
// You can edit following user settings. Data must be decompressed with the same // setting of QLZ_COMPRESSION_LEVEL and QLZ_STREAMING_BUFFER as it was compressed // (see manual). If QLZ_STREAMING_BUFFER > 0, scratch buffers must be initially // zeroed out (see manual). First #ifndef makes it possible to define settings from // the outside like the compiler command line.
// Decrease QLZ_POINTERS for level 3 to increase compression speed. Do not touch any other values! #if QLZ_COMPRESSION_LEVEL == 1 #define QLZ_POINTERS 1 #define QLZ_HASH_VALUES 4096 #elif QLZ_COMPRESSION_LEVEL == 2 #define QLZ_POINTERS 4 #define QLZ_HASH_VALUES 2048 #elif QLZ_COMPRESSION_LEVEL == 3 #define QLZ_POINTERS 16 #define QLZ_HASH_VALUES 4096 #endif
// Detect if pointer size is 64-bit. It's not fatal if some 64-bit target is not detected because this is only for adding an optional 64-bit optimization. #ifdefined _LP64 || defined __LP64__ || defined __64BIT__ || _ADDR64 || defined _WIN64 || defined __arch64__ || __WORDSIZE == 64 || (defined __sparc && defined __sparcv9) || defined __x86_64 || defined __amd64 || defined __x86_64__ || defined _M_X64 || defined _M_IA64 || defined __ia64 || defined __IA64__ #define QLZ_PTR_64 #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.