added params.sufficientLength

This commit is contained in:
inikep committed 2016-02-05 19:45:25 +01:00
1 parent 748389cd77
commit f2fee4c316
4 files changed
+104 -110

No files matched your search

+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);