1
0
mirror of https://github.com/facebook/zstd.git synced 2025-11-30 11:21:33 +03:00

opt: removed static prices

after testing, it's actually always better to use dynamic prices
albeit initialised from dictionary.
This commit is contained in:
Yann Collet
2018-05-14 18:04:08 -07:00
parent 761758982e
commit 2c26df0e13
2 changed files with 3 additions and 41 deletions

View File

@@ -76,7 +76,7 @@ typedef struct {
U32 rep[ZSTD_REP_NUM];
} ZSTD_optimal_t;
typedef enum { zop_dynamic=0, zop_predef, zop_static } ZSTD_OptPrice_e;
typedef enum { zop_dynamic=0, zop_predef } ZSTD_OptPrice_e;
typedef struct {
/* All tables are allocated inside cctx->workspace by ZSTD_resetCCtx_internal() */