]> git.ipfire.org Git - thirdparty/zstd.git/commit
[easy] Rewrite rowHashLog computation 2612/head
authorNick Terrell <terrelln@fb.com>
Tue, 4 May 2021 18:43:20 +0000 (11:43 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 4 May 2021 18:43:20 +0000 (11:43 -0700)
commit1ffa80a09eec11ec098fa80da31c4fdfd3a8d134
treee047943d55c7d6b351a11f47a98a9d68f29d4b52
parenta8ecf4ff8826eacc1bbebbc5bd11cf25824cadf5
[easy] Rewrite rowHashLog computation

`ZSTD_highbit32(1u << x) == x` when it isn't undefined behavior.
lib/compress/zstd_compress.c