mirror of
https://github.com/facebook/zstd.git
synced 2026-01-06 11:21:19 +03:00
using dict mls instead of src mls
This commit is contained in:
committed by
W. Felix Handte
parent
145c2d12f9
commit
e29bc3a009
@@ -567,7 +567,8 @@ size_t ZSTD_HcFindBestMatch_generic (
|
||||
const U32 dmsMinChain = dmsSize > dmsChainSize ? dmsSize - dmsChainSize : 0;
|
||||
const U32 bucketSize = (1 << DD_BLOG);
|
||||
|
||||
U32 hash = ZSTD_hashPtr(ip, dms->cParams.hashLog - DD_BLOG, mls) << DD_BLOG;
|
||||
U32 hash = ZSTD_hashPtr(ip, dms->cParams.hashLog - DD_BLOG,
|
||||
dms->cParams.minMatch) << DD_BLOG;
|
||||
U32 attemptNb = 0;
|
||||
matchIndex = dms->hashTable[hash];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user