added params.sufficientLength

This commit is contained in:
inikep
2016-02-05 19:45:25 +01:00
parent 748389cd77
commit f2fee4c316
4 changed files with 104 additions and 110 deletions
+1 -1
View File
@@ -571,7 +571,7 @@ void ZSTD_compressBlock_opt_generic(ZSTD_CCtx* ctx,
const uint8_t *inr;
int skip_num = 0, cur, cur2, last_pos, litlen, price, match_num;
const int sufficient_len = 32; //ctx->params.sufficientLength;
const int sufficient_len = ctx->params.sufficientLength;
const size_t faster_get_matches = (ctx->params.strategy == ZSTD_opt);