mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Document how lzma_mt.block_size affects memory usage.
This commit is contained in:
parent
e4fc1d2f95
commit
1190c641af
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue