Skip to content

Commit

Permalink
Tune 7zdeflate params for better compression.
Browse files Browse the repository at this point in the history
A bit slower but saves an extra percent or so.
  • Loading branch information
unknownbrackets committed Mar 18, 2018
1 parent b524e01 commit b66e190
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sector.cpp
Expand Up @@ -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
Expand Down

0 comments on commit b66e190

Please sign in to comment.