lzma12.h (302408) | lzma12.h (360523) |
---|---|
1/** 2 * \file lzma/lzma12.h 3 * \brief LZMA1 and LZMA2 filters 4 */ 5 6/* 7 * Author: Lasse Collin 8 * --- 287 unchanged lines hidden (view full) --- 296 /** 297 * \brief Number of position bits 298 * 299 * pb affects what kind of alignment in the uncompressed data is 300 * assumed in general. The default means four-byte alignment 301 * (2^ pb =2^2=4), which is often a good choice when there's 302 * no better guess. 303 * | 1/** 2 * \file lzma/lzma12.h 3 * \brief LZMA1 and LZMA2 filters 4 */ 5 6/* 7 * Author: Lasse Collin 8 * --- 287 unchanged lines hidden (view full) --- 296 /** 297 * \brief Number of position bits 298 * 299 * pb affects what kind of alignment in the uncompressed data is 300 * assumed in general. The default means four-byte alignment 301 * (2^ pb =2^2=4), which is often a good choice when there's 302 * no better guess. 303 * |
304 * When the aligment is known, setting pb accordingly may reduce | 304 * When the alignment is known, setting pb accordingly may reduce |
305 * the file size a little. E.g. with text files having one-byte 306 * alignment (US-ASCII, ISO-8859-*, UTF-8), setting pb=0 can 307 * improve compression slightly. For UTF-16 text, pb=1 is a good 308 * choice. If the alignment is an odd number like 3 bytes, pb=0 309 * might be the best choice. 310 * 311 * Even though the assumed alignment can be adjusted with pb and 312 * lp, LZMA1 and LZMA2 still slightly favor 16-byte alignment. --- 108 unchanged lines hidden --- | 305 * the file size a little. E.g. with text files having one-byte 306 * alignment (US-ASCII, ISO-8859-*, UTF-8), setting pb=0 can 307 * improve compression slightly. For UTF-16 text, pb=1 is a good 308 * choice. If the alignment is an odd number like 3 bytes, pb=0 309 * might be the best choice. 310 * 311 * Even though the assumed alignment can be adjusted with pb and 312 * lp, LZMA1 and LZMA2 still slightly favor 16-byte alignment. --- 108 unchanged lines hidden --- |