Add prefetchCDictTables CCtxParam

This commit is contained in:
Elliot Gorokhovsky
2022-06-22 16:13:07 -04:00
parent f5c4ec4658
commit 2a128110d0
5 changed files with 38 additions and 1 deletions
+4
View File
@@ -235,6 +235,7 @@ struct ZSTD_matchState_t {
const ZSTD_matchState_t* dictMatchState;
ZSTD_compressionParameters cParams;
const rawSeqStore_t* ldmSeqStore;
int prefetchCDictTables; /* TODO document */
};
typedef struct {
@@ -331,6 +332,9 @@ struct ZSTD_CCtx_params_s {
/* Internal use, for createCCtxParams() and freeCCtxParams() only */
ZSTD_customMem customMem;
/* TODO document */
ZSTD_paramSwitch_e prefetchCDictTables;
}; /* typedef'd to ZSTD_CCtx_params within "zstd.h" */
#define COMPRESS_SEQUENCES_WORKSPACE_SIZE (sizeof(unsigned) * (MaxSeq + 2))