mirror of
https://github.com/lz4/lz4.git
synced 2024-11-28 12:25:20 +08:00
Optimize Dict Check Condition
This commit is contained in:
parent
b78cf67c96
commit
64bcbf400e
@ -708,7 +708,7 @@ _next_match:
|
||||
/* Encode MatchLength */
|
||||
{ unsigned matchCode;
|
||||
|
||||
if ((dictDirective==usingExtDict || dictDirective==usingExtDictCtx) && (dictionary != NULL) && (lowLimit==dictLowLimit)) {
|
||||
if ((dictDirective==usingExtDict || dictDirective==usingExtDictCtx) && ((lowLimit==dictLowLimit) & (dictionary != NULL))) {
|
||||
const BYTE* limit;
|
||||
match += refDelta;
|
||||
limit = ip + (dictEnd-match);
|
||||
|
Loading…
Reference in New Issue
Block a user