]> git.ipfire.org Git - thirdparty/zstd.git/commit
Reduce bit tables to 8bit 2930/head
authorNorbert Lange <nolange79@gmail.com>
Tue, 14 Dec 2021 21:33:49 +0000 (22:33 +0100)
committerNorbert Lange <nolange79@gmail.com>
Tue, 14 Dec 2021 22:47:57 +0000 (23:47 +0100)
commit2fbb1d10c164fb927ebaa0b488470eedbf754175
tree40cfa266f4571c2281ec6876ec5f7736ffa39db6
parent99923dfc1a93479d7024289a87ac5a4749c701a7
Reduce bit tables to 8bit

This saves some 1.7Kb in rodata section (x86_64, zstd tool),
while assembler code stays the same except
the type of a few load/extend instructions.

Should not have negative performance implications.
lib/common/zstd_internal.h
lib/compress/zstd_compress.c
lib/compress/zstd_compress_superblock.c
lib/decompress/zstd_decompress_block.c
lib/decompress/zstd_decompress_block.h
lib/decompress/zstd_decompress_internal.h