c-basic/huffman
Christoph J. Scherr 0a5d3e8160 huffman occurence working without hack 2022-11-26 16:09:13 +01:00
..
README.md Update README.md 2022-11-26 01:21:28 +01:00
huffman.c huffman occurence working without hack 2022-11-26 16:09:13 +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.