We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e618ed commit c7f3277Copy full SHA for c7f3277
lib/lz5hc.c
@@ -713,7 +713,7 @@ static int LZ5HC_compress_optimal_price (
713
BYTE* op = (BYTE*) dest;
714
BYTE* const oend = op + maxOutputSize;
715
const int sufficient_len = ctx->params.sufficientLength;
716
- const bool faster_get_matches = (ctx->params.sufficientLength % 2) == 0;
+ const bool faster_get_matches = !ctx->params.fullSearch;
717
718
LZ5HC_optimal_t opt[LZ5_OPT_NUM+4];
719
LZ5HC_match_t matches[LZ5_OPT_NUM+1];
0 commit comments