Space-Efficient Huffman Codes Revisited
Szymon Grabowski, Dominik K\"oppl

TL;DR
None
Contribution
None
Abstract
Canonical Huffman code is an optimal prefix-free compression code whose codewords enumerated in the lexicographical order form a list of binary words in non-decreasing lengths. Gagie et al. (2015) gave a representation of this coding capable to encode or decode a symbol in constant worst case time. It uses bits of space, where and are the alphabet size and maximum codeword length, respectively. We refine their representation to reduce the space complexity to bits while preserving the constant encode and decode times. Our algorithmic idea can be applied to any canonical code.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Natural Language Processing Techniques
