From d46306087b4ce37c1d31309d8db9f843b9cb05fc Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Mon, 17 Aug 2020 12:37:58 -0400 Subject: [PATCH] Enable Dedicated Dict Search in the CLI --- programs/fileio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/fileio.c b/programs/fileio.c index 241afd7cf..d3285113a 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -931,6 +931,7 @@ static cRess_t FIO_createCResources(FIO_prefs_t* const prefs, CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_targetLength, (int)comprParams.targetLength) ); CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_strategy, comprParams.strategy) ); CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_literalCompressionMode, (int)prefs->literalCompressionMode) ); + CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_enableDedicatedDictSearch, 1) ); /* multi-threading */ #ifdef ZSTD_MULTITHREAD DISPLAYLEVEL(5,"set nb workers = %u \n", prefs->nbWorkers); -- 2.47.2