From de639502aa84bfa2ec46e1c8befdc583232332ed Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Tue, 19 Jun 2018 15:13:30 -0400 Subject: [PATCH] Update Dict Attachment Cut-Offs --- lib/compress/zstd_compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 216196ed..3ab0f950 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 )