]> git.ipfire.org Git - thirdparty/zstd.git/commit
[zstd] Backport kernel patch from @ColinIanKing 862/head
authorNick Terrell <terrelln@fb.com>
Mon, 25 Sep 2017 23:12:46 +0000 (16:12 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 25 Sep 2017 23:18:23 +0000 (16:18 -0700)
commit76cb38d0854433e2dc5ca6a6dd212fccb96ccd41
tree18fda93f6e4449e40e32854ed2570cd5bb822929
parent8977224b9b3c29b3ef0a4137db55efb313b5fae1
[zstd] Backport kernel patch from @ColinIanKing

* Make the U32 table in `FSE_normalizeCount()` static.
* Patch from https://lkml.kernel.org/r/20170922145946.14316-1-colin.king@canonical.com.
* Clang makes non-static tables static anyways. gcc however, does [weird things](https://godbolt.org/g/fvTcED).
* Benchmarks showed no difference in speed.
lib/compress/fse_compress.c