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

index 79d0741ee970998ea5676cbb77edf971057bc083..807b1df5b7b9c4579ab7556a6ceecb2515b13e09 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 */
-        128 KB, /* ZSTD_greedy */
-        128 KB, /* ZSTD_lazy */
-        128 KB, /* ZSTD_lazy2 */
-        128 KB, /* ZSTD_btlazy2 */
-        128 KB, /* ZSTD_btopt */
-        128 KB /* ZSTD_btultra */
+        32 KB, /* ZSTD_greedy */
+        32 KB, /* ZSTD_lazy */
+        32 KB, /* ZSTD_lazy2 */
+        256 KB, /* ZSTD_btlazy2 */
+        256 KB, /* ZSTD_btopt */
+        256 KB /* ZSTD_btultra */
     };
     const int attachDict = ( pledgedSrcSize <= attachDictSizeCutoffs[cdict->cParams.strategy]
                           || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )