]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Change threshold for benchmarking
authorDanielle Rozenblit <drozenblit@fb.com>
Thu, 27 Oct 2022 20:13:17 +0000 (13:13 -0700)
committerDanielle Rozenblit <drozenblit@fb.com>
Thu, 27 Oct 2022 20:13:17 +0000 (13:13 -0700)
lib/common/huf.h

index 595b2f6db5d2cfb9a5ddde0c07fbb0626e2ef158..dee99da772ab54d0969a7872a972d85e18e3b827 100644 (file)
@@ -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**/