Skip to content

Commit

Permalink
Tweak Step
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhandte committed Aug 20, 2021
1 parent 1ca6e16 commit 687c591
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/compress/zstd_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ ZSTD_compressBlock_fast_generic_pipelined(
ip0 = ip1;
ip1 = ip2;
ip2 = ip3;
ip3 += step;

/* write back hash table entry */
current0 = ip0 - base;
Expand Down Expand Up @@ -377,8 +376,8 @@ ZSTD_compressBlock_fast_generic_pipelined(
/* advance to next positions */
ip0 = ip1;
ip1 = ip2;
ip2 = ip3;
ip3 += step;
ip2 = ip2 + step;
ip3 = ip2 + step;
} while (ip3 < ilimit);

_cleanup:
Expand Down

0 comments on commit 687c591

Please sign in to comment.