From: Yann Collet Date: Thu, 18 Feb 2016 00:01:42 +0000 (+0100) Subject: modified level 18 X-Git-Tag: v0.5.1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F129%2Fhead;p=thirdparty%2Fzstd.git modified level 18 --- diff --git a/NEWS b/NEWS index 036df0076..ccbf15eb5 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ v0.5.1 New : Optimal parsing => Very high compression modes, thanks to Przemyslaw Skibinski Changed : Dictionary builder integrated into libzstd and zstd cli -Changed : zstd cli now uses "multiple input files" as default mode +Changed (!) : zstd cli now uses "multiple input files" as default mode. See `zstd -h`. Fix : high compression modes for big-endian platforms New : zstd cli : `-t` | `--test` command diff --git a/lib/zstd_compress.c b/lib/zstd_compress.c index 389cf4f7c..7bea6abea 100644 --- a/lib/zstd_compress.c +++ b/lib/zstd_compress.c @@ -2292,7 +2292,7 @@ static const ZSTD_parameters ZSTD_defaultParameters[4][ZSTD_MAX_CLEVEL+1] = { { 0, 23, 23, 23, 5, 5, 4, ZSTD_lazy2 }, /* level 15 */ { 0, 23, 22, 22, 5, 5, 4, ZSTD_btlazy2 }, /* level 16 */ { 0, 24, 24, 23, 4, 5, 4, ZSTD_btlazy2 }, /* level 17 */ - { 0, 24, 25, 24, 4, 4, 24, ZSTD_btopt }, /* level 18 */ + { 0, 24, 24, 23, 5, 5, 30, ZSTD_btopt }, /* level 18 */ { 0, 25, 25, 24, 5, 4, 40, ZSTD_btopt }, /* level 19 */ { 0, 26, 26, 25, 8, 4,256, ZSTD_btopt }, /* level 20 */ { 0, 26, 27, 25, 10, 4,256, ZSTD_btopt }, /* level 21 */