{
ZSTD_compressionParameters const cParams = ZSTD_dedicatedDictSearch_getCParams(
cctxParams.compressionLevel, dictSize);
- return ZSTD_createCDict_advanced(dict, dictSize,
+ ZSTD_CDict* const cdict = ZSTD_createCDict_advanced(dict, dictSize,
dictLoadMethod, dictContentType, cParams, customMem);
+ cdict->matchState.enableDedicatedDictSearch = enableDedicatedDictSearch;
+ return cdict;
}
}
U32* hashTable;
U32* hashTable3;
U32* chainTable;
+ int enableDedicatedDictSearch;
optState_t opt; /* optimal parser state */
const ZSTD_matchState_t* dictMatchState;
ZSTD_compressionParameters cParams;