Update README.md

This commit is contained in:
PlexSheep 2022-11-26 01:21:28 +01:00 committed by GitHub
parent cc94c88847
commit 330e11c45d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,14 @@
# Huffman # Huffman
the testfiles folder is unpopulated and not staged through gitignore, as it might contain large files. 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. 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=1K``
``dd if=/dev/urandom of=10K-random.img count=1M`` ``dd if=/dev/urandom of=10K-random.img count=1M``
``dd if=/dev/urandom of=10K-random.img count=1G``
... ...
files with random bytes wont be able to be compressed byy much, that is normal. Files with random bytes won't be able to be compressed by much, that is normal.
Instead try something like a text file. The LICENSE in the root of this repo for example. Instead, try something like a text file (or any other file with lower entropy), the LICENSE in the root of this repository for example.