]> git.ipfire.org Git - thirdparty/zstd.git/commit
improved gcc-9 and gcc-10 decoding speed 2630/head
authorYann Collet <cyan@fb.com>
Sat, 8 May 2021 06:58:13 +0000 (23:58 -0700)
committerYann Collet <cyan@fb.com>
Sat, 8 May 2021 07:01:01 +0000 (00:01 -0700)
commit439e58d0607786feeaa90f120fdb023fad8880a2
tree92f9380be7943e7fcbe63fbfb1e36faf15081679
parent5b6d38a99ee02b2d7b0fe2ad9e5ecd4c648215ef
improved gcc-9 and gcc-10 decoding speed

the new alignment setting is better for gcc-9 and gcc-10
by about ~+5%.

Unfortunately, it's worse for essentially all other compilers.

Make the new alignment setting conditional to gcc-9+.
lib/decompress/zstd_decompress_block.c