]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update Dict Attachment Cut-Offs
authorW. Felix Handte <w@felixhandte.com>
Tue, 19 Jun 2018 19:13:30 +0000 (15:13 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 19 Jun 2018 19:36:13 +0000 (15:36 -0400)
lib/compress/zstd_compress.c

index 216196ed629de02bc742d648204d639a7c799917..3ab0f9509981b4a7e8d743abc2bb0c4a604777e6 100644 (file)
@@ -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 )