mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Option to configure LZip dictionary size #493
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @exyi on GitHub (Feb 9, 2022).
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.@adamhathcock commented on GitHub (Feb 10, 2022):
Of course. Reasonable changes are always excepted. Any change can be discussed!