using dict mls instead of src mls
This commit is contained in:
parent
145c2d12f9
commit
e29bc3a009
@ -567,7 +567,8 @@ size_t ZSTD_HcFindBestMatch_generic (
|
|||||||
const U32 dmsMinChain = dmsSize > dmsChainSize ? dmsSize - dmsChainSize : 0;
|
const U32 dmsMinChain = dmsSize > dmsChainSize ? dmsSize - dmsChainSize : 0;
|
||||||
const U32 bucketSize = (1 << DD_BLOG);
|
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;
|
U32 attemptNb = 0;
|
||||||
matchIndex = dms->hashTable[hash];
|
matchIndex = dms->hashTable[hash];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user