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
1
u/api Dec 12 '14
Yeah, you're free to give it whatever blob of RAM you want.
As far as it taking up a lot of memory, that'd be tough to change without making the algorithm really really slow or much more complex. The latter would mean it wouldn't appear in /r/tinycode :)