]> git.ipfire.org Git - thirdparty/zstd.git/commit
[cover] Remove unnecessary mask and dedup hash functions 2217/head
authorNick Terrell <terrelln@fb.com>
Mon, 22 Jun 2020 19:52:13 +0000 (12:52 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 22 Jun 2020 19:52:13 +0000 (12:52 -0700)
commit2312b819af6ede7d5bb17f2e4b798a7af44c5e06
tree45b4929f021b56f08d916fce877a1d019c379e9b
parent78601d0806b9c779ff00aa6a7dd9cfb5136c302f
[cover] Remove unnecessary mask and dedup hash functions

* Remove the unnecessary mask, since `ZSTD_hash*()` already ensures
  the output is mod 2^h.
* Dedup the hash functions and use `ZSTD_hash*()` directly.
lib/dictBuilder/fastcover.c