Faster Huffman symbol decoding
authorEric Biggers <ebiggers3@gmail.com>
Tue, 27 May 2014 21:51:24 +0000 (16:51 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 27 May 2014 21:51:24 +0000 (16:51 -0500)
commit67c5f2c5954d07c25f57b6d9aedb73fb3720ec0b
tree09a40d129c6c909d0b694c2202cecb85190fc317
parent21aa9ea9e342f2bfb2b4752dd4a382cf9d4c048b
Faster Huffman symbol decoding

When decoding a codeword short enough for a direct mapping, we can read
the codeword length at the same time we read the symbol itself.  This
speeds up Huffman decoding slightly.

This commit also updates and improves the comments for
make_huffman_decode_table().
include/wimlib/decompress_common.h
src/decompress_common.c
src/lzms-decompress.c
src/lzx-decompress.c
src/xpress-decompress.c