liblzma: Document how lzma_mt.block_size affects memory usage.

This commit is contained in:
Lasse Collin 2014-12-02 20:04:07 +02:00
parent e4fc1d2f95
commit 1190c641af
1 changed files with 4 additions and 0 deletions

View File

@ -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;