TY - JOUR
T1 - Forward Looking Huffman Coding
AU - Klein, Shmuel T.
AU - Saadia, Shoham
AU - Shapira, Dana
N1 - Publisher Copyright:
© 2020, Springer Science+Business Media, LLC, part of Springer Nature.
PY - 2020/6/25
Y1 - 2020/6/25
N2 - Huffman coding is known to be optimal, yet its dynamic version may yield smaller compressed files. The best known bound is that the number of bits used by dynamic Huffman coding in order to encode a message of n characters is at most larger by n bits than the size of the file required by static Huffman coding. In particular, dynamic Huffman coding can also generate a larger encoded file than the static variant, though in practice the file might sometimes be smaller. We propose here a new variant of Huffman encoding, that provably always performs better than static Huffman coding by at least m − 1 bits, where m denotes the size of the alphabet, and may be better than the standard dynamic Huffman coding for certain files. The algorithm is based on reversing the direction for the references of the encoded elements, from pointing backwards into the past to looking forward into the future.
AB - Huffman coding is known to be optimal, yet its dynamic version may yield smaller compressed files. The best known bound is that the number of bits used by dynamic Huffman coding in order to encode a message of n characters is at most larger by n bits than the size of the file required by static Huffman coding. In particular, dynamic Huffman coding can also generate a larger encoded file than the static variant, though in practice the file might sometimes be smaller. We propose here a new variant of Huffman encoding, that provably always performs better than static Huffman coding by at least m − 1 bits, where m denotes the size of the alphabet, and may be better than the standard dynamic Huffman coding for certain files. The algorithm is based on reversing the direction for the references of the encoded elements, from pointing backwards into the past to looking forward into the future.
KW - Dynamic Huffman coding
KW - Huffman coding
KW - Lossless data compression
UR - http://www.scopus.com/inward/record.url?scp=85087052005&partnerID=8YFLogxK
U2 - 10.1007/s00224-020-09992-7
DO - 10.1007/s00224-020-09992-7
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:85087052005
SN - 1432-4350
VL - 65
SP - 593
EP - 612
JO - Theory of Computing Systems
JF - Theory of Computing Systems
IS - 3
ER -