sharpcompress icon indicating copy to clipboard operation
sharpcompress copied to clipboard

Option to configure LZip dictionary size

Open exyi opened this issue 3 years ago • 1 comments

Hi! This is an awesome library btw :)

I'd like to increase the LZip dictionary size, the default seems to be only ~100 (not sure though), but I don't see any option to overwrite it.

It seems that it's only controlled in this code: https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Compressors/LZMA/LZipStream.cs#L43, so it seems reasonably simple to implement. Would you accept a PR for another new LZipStream() overload which would allow setting this parameter.

exyi avatar Feb 09 '22 18:02 exyi

Of course. Reasonable changes are always excepted. Any change can be discussed!

adamhathcock avatar Feb 10 '22 08:02 adamhathcock