Changelog

Revision history for snappy-hs

0.1.2.0 -- 2026-06-19

  • Major throughput work bringing decompression to roughly C parity and compression to ~2–3x of C (was ~2–6x, and ~130x on incompressible data).
  • Encoder now follows C Snappy's CompressFragment: an exponential skip heuristic over incompressible data, match chaining, word-at-a-time match extension via trailing-zero count, and an input-sized hash table (32-bit slots, capped at 2^14) instead of a fixed 256 KB table.
  • Decoder uses wide (8-byte) literal and overlapping-copy writes backed by output over-allocation slack.

0.1.0.5 -- 2026-02-23

  • Use Ptr directly to make implementation faster.

0.1.0.4 -- 2025-10-7

  • Loosen vector and bytestring bounds.

0.1.0.3 -- 2025-08-30

  • Add home and issues page to hackage.

0.1.0.2 -- 2025-08-18

  • Rename ParseException to DecodeError and expose its values.

0.1.0.1 -- 2025-08-17

  • Loosen version bounds for bytestring and vector.

0.1.0.0 -- 2025-08-16

  • Compress and decompress raw snappy