Huffman
huffman encoder/decoder
Install / Use
/learn @drichardson/HuffmanREADME
huffman
A huffman coding library and command line interface to the library. The encoder is a 2 pass encoder. The first pass generates a huffman tree and the second pass encodes the data. The decoder is one pass and uses a huffman code table at the beginning of the compressed file to decode the data.
libhuffman has functions for encoding and decoding both files and memory.
Makefile Build
To build:
make
To run unit tests:
make check
To run unit tests under valgrind:
make valgrind_check
CMake Build
To build:
mkdir build
cd build
cmake ..
cmake --build .
To run all tests:
ctest
To run unit tests:
ctest -R ^check$
To run unit tests under valgrind:
ctest -R ^valgrind_check$
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
