Skip to content
Snippets Groups Projects
Commit a6ea35eb authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

lzw: switch to a fixed-size table with internally linked codes

This saves us from allocating and freeing the HBytes that were stored in
the table. It should also save memory since it essentially shares common
prefixes between codes.

The only remaining call to malloc() is the one allocating the global
context object itself.
parent a8734305
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment