Enable inclusion of mid-flight LDMs in opt parser
This commit is contained in:
parent
88f72ed942
commit
ddf8a3f1b9
@ -871,7 +871,6 @@ static void ZSTD_opt_maybeAddLdm(ZSTD_match_t* matches, U32* nbMatches,
|
||||
/* Ensure that current block position is not outside of the match */
|
||||
if (currPosInBlock < matchStartPosInBlock
|
||||
|| currPosInBlock >= matchEndPosInBlock
|
||||
|| posDiff > 0 /* As a next evolution we can enable adding LDMs in the middle of a match */
|
||||
|| candidateMatchLength < MINMATCH) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user