Remove Chain Limit on Hash Cache Entries; Slightly Improve Compression

Entries in the hashTable chain cache aren't subject to the same aliasing that
the circular chain table is subject to. As such, we don't need to stop when we
cross the chain limit. We can delve deeper. :)
This commit is contained in:
W. Felix Handte
2020-09-10 18:51:52 -04:00
parent e8b4011b52
commit 7b9a755ac9
-4
View File
@@ -611,10 +611,6 @@ size_t ZSTD_HcFindBestMatch_generic (
return ml;
}
}
if (matchIndex <= ddsMinChain) {
return ml;
}
}
for ( ; (ddsAttempt < nbAttempts) & (matchIndex >= ddsMinChain); ddsAttempt++) {