skip to main content
article
Free Access

Efficient decoding of prefix codes

Published:01 April 1990Publication History
Skip Abstract Section

Abstract

A special case of the data compression problem is presented, in which a powerful encoder transmits a coded file to a decoder that has severely constrained memory. A data structure that achieves minimum storage is presented, and alternative methods that sacrifice a small amount of storage to attain faster decoding are described.

References

  1. 1 Apostolico, A., and Fraenkel, A. S. Robust transmission of unbounded strings using Fibonacci representations. IEEE Tra,s. Inf. Theory 33, 2 (Mar. a987). 238-245. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Choueka, Y., et al. Huffman coding without bit-manipulation. Tech. Rep. CS86-05, Weizmann In_stitute of Scien_ce, Dept. of Applied Mathematics, Rehovot, Israel, 1986.Google ScholarGoogle Scholar
  3. 3 Connell, J. B, A Huffman-Shannon-Fano code. Proc. IEEE 61, 7 (July (1973), I046-1047.Google ScholarGoogle Scholar
  4. 4 Hankamer, M. A modified Huffman procedure with reduced memory requirements. IEEE Trans. Commun. 27, 6 (June 1979), 930-932.Google ScholarGoogle ScholarCross RefCross Ref
  5. 5 Huffman, D. A. A method for the construction of minimum-redundancy codes. Proc. it~t: ,~u, u t~ept. 1952), 1098-1101.Google ScholarGoogle ScholarCross RefCross Ref
  6. 6 Lelewer, D. A., and Hirschberg, D. S. Data compression. ACM Comput. Surv. 19, 3 (Sept. 1987), 261-296. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 Schwartz, E, S., and Ka!!ick, B. Generati_n_g a canonica! prefix encoding. Commun. ACM 7, 3 (Mar. 1964), 166-169. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 Sieminski, A. Fast decoding of the Huffman codes. In/. Process. Lett. 26, 5 (May 1988), 237-241. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 Storer, J. A. Data Compression Methods and TheorF. Computer Science Press, Rockville, Md., 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 Tanaka, H. Data structure of Huffman codes and its application to efficient encoding and decoding, iEEE Trans. infi Theory 33, i (jan. 1987), 154-156. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 Witten. I. H., Neal. R. M., and Cleary, J. G. Arithmetic coding for rtnta t~nmnroccicsn (-'nmnTun A("M '20 6 flllno 1 qR7l 520-.qz~fl Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Efficient decoding of prefix codes

        Recommendations

        Reviews

        R. Nigel Horspool

        The authors consider the problem of decoding Huffman codes (or prefix codes in general) using space-efficient data structures. Considered as a practical exercise in choosing and adapting tree structures to the needs of a particular problem, the paper has a modest contribution to make. The authors succeed in their particular purpose, and other implementers who need to attack a similar problem should find the material useful. I found the writing style to be too detailed and too focused on a relatively narrow problem. If the goal of using minimal storage is relaxed somewhat, other much faster decoding algorithms and better compression methods than Huffman coding become more attractive. For example, to decode Huffman codes, the method given by Choueka et al . [1] is much faster. Finally, the authors' claim that their Huffman coding can attain compression performance comparable with that of the UNIX compress program is not supported by any experimental data that I have ever seen.

        Access critical reviews of Computing literature here

        Become a reviewer for Computing Reviews.

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image Communications of the ACM
          Communications of the ACM  Volume 33, Issue 4
          April 1990
          69 pages
          ISSN:0001-0782
          EISSN:1557-7317
          DOI:10.1145/77556
          Issue’s Table of Contents

          Copyright © 1990 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 April 1990

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader