Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bennetyee/compact_huffman

Compact Huffman code decoder
https://github.com/bennetyee/compact_huffman

Last synced: 10 days ago
JSON representation

Compact Huffman code decoder

Awesome Lists containing this project

README

        

# compact_huffman

This repo contains a simple experiment in writing a space-efficient
(code/data) Huffman code decoder.

Note that the decoder is limited to 32768 symbols. If more are
needed, then the type of integral type used indices in a
`HuffmanCodeNode` will have to be `uint32_t` instead of `uint16_t`.

To build, run

```sh
$ cmake -S src -B build
$ (cd build; make)
```