Skip to content

Allow user to override default compression options

Kristian Klausen requested to merge github/fork/Chocobo1/compression_opt into master

Created by: Chocobo1

Background info: I was using lz4 for its speed and switched to zstd after the recent release. However zstd -19 is very slow on my machine and I wish to override the compression level which I found is impossible and hence this patch.

Another related question, why only zstd utilize a compression level that is not the program default (-3)? All others (lz4, gzip) use the default compression level from the respective programs. EDIT: Answering the question myself, see:

Merge request reports