-
Notifications
You must be signed in to change notification settings - Fork 11
What we pass to LZMA Backend
Peter Hyman edited this page Nov 2, 2023
·
2 revisions
A change from the original is that
- LZMA gets an absolute level
- LZMA gets an absolute dictionary size
- LZMA backend will operate in multi-thread mode unless option
--nobemt
is used
from stream.c
457 lzma_ret = LzmaCompress(c_buf, &dlen, cthread->s_buf,
458 (size_t)cthread->s_len, control->lzma_properties, &prop_size,
459 control->compression_level,
460 control->dictSize, /* dict size. 0 = set default, otherwise control->dictSize */
461 LZMA_LC, LZMA_LP, LZMA_PB, /* lc, lp, pb */
462 (control->compression_level < 7 ? 32 : 64), /* fb */
463 ((control->threads > 1 && NOBEMT) ? 1 : 2));
464 /* LZMA spec has threads = 1 or 2 only.
465 * If NOBEMT is set, do not use multi-threading */
Home
About
No More 7/9 Compression Level Limits
Threshold Limits
Using tar
with lrzip-next
Piping with lrzip-next
How to Maximize Compression
HOWTO Speed up Compiling
Feature added: Debugging
What we pass to LZMA
What we pass to ZPAQ
What we pass to BZIP3
What we pass to ZSTD
Computing Memory Overhead
Increasing Block Sizes to Compress
LZMA2 Dictionary Sizes NEW
Setting Cost Factor NEW