c-basic/huffman
Christoph J. Scherr 8f1237b257 huffman sort frequencies, makefile for testfiles 2022-11-27 01:55:25 +01:00
..
README.md Update README.md 2022-11-26 01:21:28 +01:00
huffman.c huffman sort frequencies, makefile for testfiles 2022-11-27 01:55:25 +01:00

README.md

Huffman

The ./testfiles folder is ignored through gitignore, as it might contain large files. Use the following command to populate it or create your own testfiles.

dd if=/dev/urandom of=10K-random.img count=1K

dd if=/dev/urandom of=10K-random.img count=1M

dd if=/dev/urandom of=10K-random.img count=1G

...

Files with random bytes won't be able to be compressed by much, that is normal. Instead, try something like a text file (or any other file with lower entropy), the LICENSE in the root of this repository for example.