c-basic/huffman
Christoph J. Scherr f0616d03fd huffman occurences works until last BUFSIZE block 2022-11-26 15:46:33 +01:00
..
README.md Update README.md 2022-11-26 01:21:28 +01:00
huffman.c huffman occurences works until last BUFSIZE block 2022-11-26 15:46:33 +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.