snappy-hs: Snappy compression library.

[ codec, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

A pure Haskell implementation of the Snappy compression spec.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Change log CHANGELOG.md
Dependencies base (>=4.11 && <5), bytestring (>=0.11 && <=0.13), snappy-hs, vector (>=0.12 && <=0.13.2) [details]
License MIT
Author Michael Chavinda
Maintainer mschavinda@gmail.com
Category Codec
Home page https://github.com/mchav/snappy-hs
Bug tracker https://github.com/mchav/snappy-hs/issues
Source repo head: git clone https://github.com/mchav/snappy-hs
Uploaded by mchav at 2025-08-31T00:00:18Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables snappy-hs
Downloads 13 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-08-31 [all 1 reports]

Readme for snappy-hs-0.1.0.3

[back to package description]

snappy-hs

A implementation of the snappy compression algorithm in Haskell.

This implementation is significantly slower than the native C version (or the other Haskell implementations). Use it if you want to decode/encode snappy files cross platform reliably without worrying about C FFI.

There is no plan to optimize this code in the near future but it should be possible given enough time and profiling. So maybe it could be fast in the future but don't hold your breath. Instead, send a PR with some benchmarks.