Set threshold to use optimal table log

This commit is contained in:
Danielle Rozenblit
2022-10-11 14:33:25 -07:00
parent 8888a2ddcc
commit fa7d9c1139
2 changed files with 3 additions and 3 deletions
+1 -1
View 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 1
#define HUF_OPTIMAL_DEPTH_THRESHOLD ZSTD_btlazy2
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**/