]> git.ipfire.org Git - thirdparty/zstd.git/commit
Write Back Advanced Hash in Long Matches as Well (+Ratio)
authorW. Felix Handte <w@felixhandte.com>
Wed, 8 Sep 2021 16:45:42 +0000 (12:45 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 5 Oct 2021 18:54:37 +0000 (14:54 -0400)
commit2ddef7c872c123383aa8b998a3b428bf359a8ce0
tree22a7ef364028868e98e797dc05a792381c71b1c8
parent39f2491bfc70db883d45265af0f764d1e80cfa69
Write Back Advanced Hash in Long Matches as Well (+Ratio)

Since we're now hashing the position ahead even if we find a long match and
don't search that next position, we can write it back into the hashtable even
in long matches. This seems to cost us no speed, and improves compression
ratio slightly!
lib/compress/zstd_double_fast.c