From: Danielle Rozenblit Date: Thu, 27 Oct 2022 20:13:17 +0000 (-0700) Subject: Change threshold for benchmarking X-Git-Tag: v1.5.4^2~66^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2638212af253e8d9c9161743812b5e39056e0f5;p=thirdparty%2Fzstd.git Change threshold for benchmarking --- diff --git a/lib/common/huf.h b/lib/common/huf.h index 595b2f6db..dee99da77 100644 --- a/lib/common/huf.h +++ b/lib/common/huf.h @@ -173,7 +173,7 @@ size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, /* **************************************** * HUF detailed API * ****************************************/ -#define HUF_OPTIMAL_DEPTH_THRESHOLD ZSTD_btultra +#define HUF_OPTIMAL_DEPTH_THRESHOLD 3 typedef enum { HUF_depth_fast, /** Use heuristic to find the table depth**/ HUF_depth_optimal /** Test possible table depths to find the one that produces the smallest header + encoded size**/