]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update Dictionary Attachment Cutoff Values
authorW. Felix Handte <w@felixhandte.com>
Thu, 31 May 2018 22:32:41 +0000 (18:32 -0400)
committerW. Felix Handte <w@felixhandte.com>
Wed, 13 Jun 2018 18:58:36 +0000 (14:58 -0400)
lib/compress/zstd_compress.c

index f42c4595d5d5647032f1ade9ddb7da0c229d5ad1..79d0741ee970998ea5676cbb77edf971057bc083 100644 (file)
@@ -1233,12 +1233,12 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
         8 KB, /* unused */
         8 KB, /* ZSTD_fast */
         16 KB, /* ZSTD_dfast */
-        16 KB, /* ZSTD_greedy */
-        16 KB, /* ZSTD_lazy */
-        16 KB, /* ZSTD_lazy2 */
-        16 KB, /* ZSTD_btlazy2 */
-        16 KB, /* ZSTD_btopt */
-        16 KB /* ZSTD_btultra */
+        128 KB, /* ZSTD_greedy */
+        128 KB, /* ZSTD_lazy */
+        128 KB, /* ZSTD_lazy2 */
+        128 KB, /* ZSTD_btlazy2 */
+        128 KB, /* ZSTD_btopt */
+        128 KB /* ZSTD_btultra */
     };
     const int attachDict = ( pledgedSrcSize <= attachDictSizeCutoffs[cdict->cParams.strategy]
                           || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )