• DocumentCode
    2398388
  • Title

    Space-efficient construction of optimal prefix codes

  • Author

    Moffat, Alistair ; Turpin, Andrew ; Katajainen, Jyrki

  • Author_Institution
    Dept. of Comput. Sci., Melbourne Univ., Parkville, Vic., Australia
  • fYear
    1995
  • fDate
    28-30 Mar 1995
  • Firstpage
    192
  • Lastpage
    201
  • Abstract
    Shows that the use of the lazy list processing technique from the world of functional languages allows, under certain conditions, the package-merge algorithm to be executed in much less space than is indicated by the O(nL) space worst-case bound. For example, the revised implementation generates a 32-bit limited code for the TREC distribution within 15 Mb of memory. It is also shown how a second observation-that in large-alphabet situations it is often the case that there are many symbols with the same frequency-can be exploited to further reduce the space required, for both unlimited and length-limited coding. This second improvement allows calculation of an optimal length-limited code for the TREC word distribution in under 8 Mb of memory; and calculation of an unrestricted Huffman code in under 1 Mb of memory
  • Keywords
    Huffman codes; algorithm theory; data compression; merging; visual databases; O(nL) space worst-case bound; TREC distribution; functional languages; large-alphabet situations; lazy list processing technique; length-limited coding; optimal prefix codes; package-merge algorithm; space-efficient construction; unlimited coding; unrestricted Huffman code; Algorithm design and analysis; Code standards; Computer science; Databases; Decoding; Frequency; Hardware; Huffman coding; Internet; Packaging;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Compression Conference, 1995. DCC '95. Proceedings
  • Conference_Location
    Snowbird, UT
  • ISSN
    1068-0314
  • Print_ISBN
    0-8186-7012-6
  • Type

    conf

  • DOI
    10.1109/DCC.1995.515509
  • Filename
    515509