Enable inclusion of mid-flight LDMs in opt parser

This commit is contained in:
senhuang42
2020-10-07 13:56:25 -04:00
parent 88f72ed942
commit ddf8a3f1b9
-1
View File
@@ -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;
}