mirror of
https://github.com/facebook/zstd.git
synced 2025-03-07 01:10:04 +02:00
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…
x
Reference in New Issue
Block a user