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:
@@ -611,10 +611,6 @@ size_t ZSTD_HcFindBestMatch_generic (
|
||||
return ml;
|
||||
}
|
||||
}
|
||||
|
||||
if (matchIndex <= ddsMinChain) {
|
||||
return ml;
|
||||
}
|
||||
}
|
||||
|
||||
for ( ; (ddsAttempt < nbAttempts) & (matchIndex >= ddsMinChain); ddsAttempt++) {
|
||||
|
||||
Reference in New Issue
Block a user