From b66e190046ebda946c1aac089536d44226c7b1bc Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 18 Mar 2018 10:14:06 -0700 Subject: [PATCH] Tune 7zdeflate params for better compression. A bit slower but saves an extra percent or so. --- src/sector.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sector.cpp b/src/sector.cpp index 0e9c72d87..0d7471b41 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -43,6 +43,10 @@ Sector::Sector(uint32_t flags) Deflate7z::Options opts; Deflate7z::SetDefaults(&opts); opts.level = 9; + opts.passes = 12; + opts.fastbytes = 64; + opts.matchcycles = 32; + opts.algo = 1; Deflate7z::Alloc(&deflate7z_, &opts); } #endif