Kerkko Pelttari's algorithm project course work in fall 2021.
Setup: create virtualenv (or don't) and run pip install -r dev-requirements.txt
Command line help: python -m src.main --help
Compress filename
with LZW : python -m src.main filename --algorithm lzw --write-to-file
Compress filename
with Huffman coding: python -m src.main filename --algorithm huffman --write-to-file
Extract filename
(that has either .lzw or .huffman extension, algorithm is autodetectd) : python -m src.main filename --write-to-file
Run tests: make test
Run performance tests: make test-with-benchmarks
Run simple benchmarks: make simple-benchmarks
Run with python -m cProfile -o profile.out -s cumtime -m src.main
to profile