LzmaArchiveSettings.DictionarySize

LzmaArchiveSettings.DictionarySize property

Dictionary (history buffer) size indicates how many bytes of the recently processed uncompressed data are kept in memory. If not set, will be chosen accordingly to entry size.

public int DictionarySize { get; set; }

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThe value is too small ot too big.
ArgumentExceptionThe value is not a power of two or three times a power of two.

Remarks

The bigger the dictionary, usually the better the compression ratio is - but dictionaries larger than the uncompressed data are a waste of RAM.

The disctionary size of LZMA archive must be either a power of two (2^n) or three times a power of two (3*2^n).

See Also