Space-Efficient Huffman Codes Revisited

08/12/2021
by   Szymon Grabowski, et al.
0

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 σℓ_max + o(σ) + O(ℓ_max^2) bits of space, where σ and ℓ_max are the alphabet size and maximum codeword length, respectively. We refine their representation to reduce the space complexity to σℓ_max (1 + o(1)) bits while preserving the constant encode and decode times. Our algorithmic idea can be applied to any canonical code.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/05/2017

Optimal Quasi-Gray Codes: Does the Alphabet Matter?

A quasi-Gray code of dimension n and length ℓ over an alphabet Σ is a se...
research
05/16/2018

On the List Decodability of Insertions and Deletions

List decoding of insertions and deletions is studied. A Johnson-type upp...
research
09/25/2019

Multiple-Rate Channel Codes in GF(p^n^2)

A code C(n, k, d) defined over GF(q^n) is conventionally designed to enc...
research
06/12/2023

ELF Codes: Concatenated Codes with an Expurgating Linear Function as the Outer Code

An expurgating linear function (ELF) is a linear outer code that disallo...
research
04/29/2022

Average Redundancy of Variable-Length Balancing Schemes à la Knuth

We study and propose schemes that map messages onto constant-weight code...
research
01/15/2020

Optimal Skeleton Huffman Trees Revisited

A skeleton Huffman tree is a Huffman tree in which all disjoint maximal ...
research
12/23/2011

Critical Data Compression

A new approach to data compression is developed and applied to multimedi...

Please sign up or login with your details

Forgot password? Click here to reset