lz77/README.md

17 lines
471 B
Markdown

# lz77
lz77 compressor/decompressor using a 32KB sliding window which includes an allocation free window comparison helper and a prefix-indexing finder that prunes out-of-window positions
### Build
- dune build
- dune exec bin/main.exe -- compress <in> <out>
- dune exec bin/main.exe -- decompress <in> <out>
### Format
- Literal: flag bit 1 + 8-bit byte
- Match: flag bit 0 + 15-bit distance + 8-bit length
See `lib/` for module implementations :)