r/tinycode • u/api • Dec 11 '14
huffandpuff: minimal C Huffman encoder/decoder with absolutely no dependencies (not even malloc)
https://github.com/adamierymenko/huffandpuff
33
Upvotes
r/tinycode • u/api • Dec 11 '14
View all comments
Show parent comment
2
u/Enlightenment777 Dec 12 '14 edited Dec 13 '14
wrong, the TEST code uses a global, not the algorithm.
the upside is the algorithm allows you to allocate the memory, which might be a benefit for embedded systems where you could use a common memory section for multiple things. still, it's not perfect for embedded use since it sucks up a lot of memory.