From: W. Felix Handte Date: Fri, 20 Aug 2021 21:06:41 +0000 (-0400) Subject: Tweak Step X-Git-Tag: v1.5.1~1^2~116^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64054dec442a99e4c065be1319202e18bd4b8d8a;p=thirdparty%2Fzstd.git Tweak Step --- diff --git a/lib/compress/zstd_fast.c b/lib/compress/zstd_fast.c index 9b40558e1..d60a0bbe5 100644 --- a/lib/compress/zstd_fast.c +++ b/lib/compress/zstd_fast.c @@ -340,7 +340,6 @@ _start: /* Requires: ip0 */ ip0 = ip1; ip1 = ip2; ip2 = ip3; - ip3 += step; /* write back hash table entry */ current0 = ip0 - base; @@ -377,8 +376,8 @@ _start: /* Requires: ip0 */ /* advance to next positions */ ip0 = ip1; ip1 = ip2; - ip2 = ip3; - ip3 += step; + ip2 = ip2 + step; + ip3 = ip2 + step; } while (ip3 < ilimit); _cleanup: