mirror of
https://github.com/facebook/zstd.git
synced 2025-12-05 00:03:19 -05:00
Attach Dicts when Using ZSTD_btlazy2
This commit is contained in:
parent
854825caac
commit
ace9cfa950
@ -1236,7 +1236,7 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
|
||||
32 KB, /* ZSTD_greedy */
|
||||
32 KB, /* ZSTD_lazy */
|
||||
32 KB, /* ZSTD_lazy2 */
|
||||
256 KB, /* ZSTD_btlazy2 */
|
||||
32 KB, /* ZSTD_btlazy2 */
|
||||
256 KB, /* ZSTD_btopt */
|
||||
256 KB /* ZSTD_btultra */
|
||||
};
|
||||
@ -1244,7 +1244,7 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
|
||||
|| pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )
|
||||
&& !params.forceWindow /* dictMatchState isn't correctly
|
||||
* handled in _enforceMaxDist */
|
||||
&& cdict->cParams.strategy <= ZSTD_lazy2
|
||||
&& cdict->cParams.strategy <= ZSTD_btlazy2
|
||||
&& ZSTD_equivalentCParams(cctx->appliedParams.cParams,
|
||||
cdict->cParams);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user