Update Dictionary Attachment Cutoff Values

dev
W. Felix Handte 2018-05-31 18:32:41 -04:00
parent 6204b6d592
commit c87dd2121d
1 changed files with 6 additions and 6 deletions

View File

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