Skip to content

Commit c7f3277

Browse files
committed
new compression level 17
1 parent 5e618ed commit c7f3277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lz5hc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ static int LZ5HC_compress_optimal_price (
713713
BYTE* op = (BYTE*) dest;
714714
BYTE* const oend = op + maxOutputSize;
715715
const int sufficient_len = ctx->params.sufficientLength;
716-
const bool faster_get_matches = (ctx->params.sufficientLength % 2) == 0;
716+
const bool faster_get_matches = !ctx->params.fullSearch;
717717

718718
LZ5HC_optimal_t opt[LZ5_OPT_NUM+4];
719719
LZ5HC_match_t matches[LZ5_OPT_NUM+1];

0 commit comments

Comments
 (0)