From: W. Felix Handte Date: Tue, 19 Jun 2018 19:13:30 +0000 (-0400) Subject: Update Dict Attachment Cut-Offs X-Git-Tag: v1.3.5~3^2~10^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de639502aa84bfa2ec46e1c8befdc583232332ed;p=thirdparty%2Fzstd.git Update Dict Attachment Cut-Offs --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 216196ed6..3ab0f9509 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -1239,8 +1239,8 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx, 32 KB, /* ZSTD_lazy */ 32 KB, /* ZSTD_lazy2 */ 32 KB, /* ZSTD_btlazy2 */ - 256 KB, /* ZSTD_btopt */ - 256 KB /* ZSTD_btultra */ + 32 KB, /* ZSTD_btopt */ + 8 KB /* ZSTD_btultra */ }; const int attachDict = ( pledgedSrcSize <= attachDictSizeCutoffs[cdict->cParams.strategy] || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )