🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.compression.research
Article #89

Re: Fast decoders for variable-length codes

#89
From: Nico E de Vries
Date: Mon, 05 Oct 1992 13:37
19 lines
1275 bytes
In <1309@my.sm.luth.se> edf@sm.luth.se (Ove Edfors) writes:

>  Is there anyone out there, who have information on fast decoders for
>variable-length codes, e.g. Huffman codes. I'm currently taking a closer
>look at fast decoding, and I would be very grateful for any information
>on the subject.
>  Pointers to books, reports and articles on the subject are of particular
>interest.

The common way is a lookup table. Always "snoop" X bits from the compressed
stream and use a table lookup to find out the value and the actual
length. Many sources (e.g. INFO-Zip UNZIP) us table lookup for Huffman
decompression.

Nico E. de Vries
 _ _
 O O  USENET nevries@cc.ruu.nl This text reflects MY opinions, nothing else.
  o   This text is supplied 'AS IS', no waranties of any kind apply.
 \_/  Don't waste your time on complaining about my hopeless typostyle.
Technical Details
Message-ID: <3108@accucx.cc.ruu.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!alchemy!accucx!nevries
References: <1309@my.sm.luth.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!alchemy!accucx!nevries
From: nevries@accucx.cc.ruu.nl (Nico E de Vries)
Newsgroups: comp.compression.research
Subject: Re: Fast decoders for variable-length codes
Keywords: variable-length code, decoder
Message-ID: <3108@accucx.cc.ruu.nl>
Date: 5 Oct 92 13:37:56 GMT
References: <1309@my.sm.luth.se>
Organization: Academic Computer Centre Utrecht
Lines: 19