]> git.ipfire.org Git - thirdparty/zstd.git/commit
Hoist Hash Table Writes Up into Each Match Found Block
authorW. Felix Handte <w@felixhandte.com>
Wed, 11 May 2022 15:27:34 +0000 (11:27 -0400)
committerW. Felix Handte <w@felixhandte.com>
Wed, 11 May 2022 15:27:34 +0000 (11:27 -0400)
commitcd1f5829432c6df1a47c26cf9be75495fb2fdb94
tree761dc461d7fa741298d0dbf782c250be270bdd0f
parent040986a4f4a2ba64a3ad9dc76646d8fab4472b37
Hoist Hash Table Writes Up into Each Match Found Block

Refactoring this way avoids the bad write in the case that `step > 4`, and
is a bit more straightforward. It also seems to perform better!
lib/compress/zstd_fast.c