mirror of https://git.tukaani.org/xz.git
liblzma: Document how lzma_mt.block_size affects memory usage.
This commit is contained in:
parent
e4fc1d2f95
commit
1190c641af
|
@ -96,6 +96,10 @@ typedef struct {
|
|||
* Set this to 0 to let liblzma choose the block size depending
|
||||
* on the compression options. For LZMA2 it will be 3*dict_size
|
||||
* or 1 MiB, whichever is more.
|
||||
*
|
||||
* For each thread, about 3 * block_size bytes of memory will be
|
||||
* allocated. This may change in later liblzma versions. If so,
|
||||
* the memory usage will probably be reduced, not increased.
|
||||
*/
|
||||
uint64_t block_size;
|
||||
|
||||
|
|
Loading…
Reference in New Issue