From: Michael Tremer Date: Wed, 29 Jan 2025 17:10:21 +0000 (+0000) Subject: compress: Drastically increase the Zstandard compression level X-Git-Tag: 0.9.30~293 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec6971951157e1012d1e137c3d10e1e561a1ce40;p=pakfire.git compress: Drastically increase the Zstandard compression level All files that we generate are being transferred or stored for a long time. So it should be wise to always spend the extra CPU cycles. Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/compress.c b/src/pakfire/compress.c index 41c35a25..287b2ba1 100644 --- a/src/pakfire/compress.c +++ b/src/pakfire/compress.c @@ -47,7 +47,7 @@ #define XZ_COMPRESSION_LEVEL 6 // Settings for ZSTD -#define ZSTD_COMPRESSION_LEVEL 7 +#define ZSTD_COMPRESSION_LEVEL 15 const struct compressor { char magic[MAX_MAGIC_LENGTH];