An efficient algorithm of huffman decoder with nearly constant decoding time

  • Pi Chung Wang*
  • , Chun Liang Lee
  • , Hung Yi Chang
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This paper introduces a Huffman decoding algorithm based on the single-side growing Huffman tree. The proposed scheme exploits an intrinsic property of the single-side growing Huffman tree to utilize the instructions of the modern processor. The data structure is proved to have linear space complexity O(d + 2n), where d is the maximal length of the Huffman codes and n is the number of symbols. More importantly, each Huffman decoding could be carried out by a constant number of instructions and two memory accesses, regardless the length of Huffman codes. As demonstrated in the experimental results, the proposed scheme yields a nearly constant decoding time and outperform the existing schemes. Our source code is publicly available.

Original languageEnglish
Title of host publicationProceedings of the Fifth IASTED International Conference on Circuits, Signals, and Systems, CSS 2007
Pages131-135
Number of pages5
StatePublished - 2007
Event5th IASTED International Conference on Circuits, Signals, and Systems, CSS 2007 - Banff, AB, Canada
Duration: 02 07 200704 07 2007

Publication series

NameProceedings of the Fifth IASTED International Conference on Circuits, Signals, and Systems, CSS 2007

Conference

Conference5th IASTED International Conference on Circuits, Signals, and Systems, CSS 2007
Country/TerritoryCanada
CityBanff, AB
Period02/07/0704/07/07

Keywords

  • Data compression
  • Decoding
  • Huffman codes

Fingerprint

Dive into the research topics of 'An efficient algorithm of huffman decoder with nearly constant decoding time'. Together they form a unique fingerprint.

Cite this