mirror of
https://github.com/facebook/zstd.git
synced 2025-10-16 00:04:24 -04:00
minor CRatio improvement
This commit is contained in:
parent
eb283710dd
commit
47cfa9a985
@ -707,6 +707,8 @@ size_t ZSTD_HC_compressBlock_lazy_generic(ZSTD_HC_CCtx* ctx,
|
||||
}
|
||||
|
||||
/* store sequence */
|
||||
if (offset)
|
||||
while ((start>anchor) && (start-offset>ctx->base) && (start[-1] == start[-1-offset])) { start--; matchLength++; } /* catch up */
|
||||
{
|
||||
size_t litLength = start - anchor;
|
||||
if (offset) offset_1 = offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user