simplified optimal parser

removed "cached" structure.
prices are now saved in the optimal table.

Primarily done for simplification.
Might improve speed by a little.
But actually, and surprisingly, also improves ratio in some circumstances.
This commit is contained in:
Yann Collet
2018-05-29 14:07:25 -07:00
parent bb6eaf6495
commit 463a0fe38b
5 changed files with 132 additions and 189 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString
/*! g_debuglog_enable :
* turn on/off debug traces (global switch) */
#if defined(ZSTD_DEBUG) && (ZSTD_DEBUG >= 2)
int g_debuglog_enable = 1;
int g_debuglevel = ZSTD_DEBUG;
#endif