Merge pull request #431 from terrelln/perf-regr
Fix ZSTD_execSequence() performance regression
This commit is contained in:
commit
5f1cb45cff
@ -887,7 +887,8 @@ size_t ZSTD_execSequence(BYTE* op,
|
||||
sequence.matchLength -= length1;
|
||||
match = base;
|
||||
if (op > oend_w) {
|
||||
while (op < oMatchEnd) *op++ = *match++;
|
||||
U32 i;
|
||||
for (i = 0; i < sequence.matchLength; ++i) op[i] = match[i];
|
||||
return sequenceLength;
|
||||
}
|
||||
} }
|
||||
|
Loading…
Reference in New Issue
Block a user