2022-11-24 22:33:52 +01:00
|
|
|
# Huffman
|
2022-11-26 01:21:28 +01:00
|
|
|
The `./testfiles` folder is ignored through gitignore, as it might contain large files.
|
2022-11-24 23:00:34 +01:00
|
|
|
Use the following command to populate it or create your own testfiles.
|
2022-11-24 22:33:52 +01:00
|
|
|
|
2022-11-24 22:34:49 +01:00
|
|
|
``dd if=/dev/urandom of=10K-random.img count=1K``
|
2022-11-26 01:21:28 +01:00
|
|
|
|
2022-11-24 22:35:05 +01:00
|
|
|
``dd if=/dev/urandom of=10K-random.img count=1M``
|
2022-11-26 01:21:28 +01:00
|
|
|
|
|
|
|
``dd if=/dev/urandom of=10K-random.img count=1G``
|
|
|
|
|
2022-11-24 22:33:52 +01:00
|
|
|
...
|
|
|
|
|
2022-11-26 01:21:28 +01:00
|
|
|
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.
|