@hackage zstd0.1.1.2
Haskell bindings to the Zstandard compression algorithm
Categories
License
BSD-3-Clause
Maintainer
luis@luispedro.org
Links
Versions
Installation
Dependencies (4)
- base >=4.8 && <5
- bytestring >=0.9
- deepseq
- ghc-prim Show all…
Dependents (16)
@hackage/dataframe, @hackage/cpkg, @hackage/keid-core, @hackage/shake-bindist, @hackage/language-dickinson, @hackage/acme-everything, Show all…
Package Flags
standalone
(on by default)
Use a built-in copy of the zstd library
Zstandard bindings for Haskell
This library provides Haskell bindings to the Zstandard compression library.
The library is structured to provide several layers of abstraction.
-
For the simplest use cases, the top-level
Zstdmodule is the best place to get started. -
If you need to stream a large amount of data with a constant memory footprint, use the
Zstd.Streamingmodule. This can also be used as a building block for adapting to streaming libraries such aspipesandconduit. (If you need to use lazy bytestrings instead, see theZstd.Lazymodule. This is built using the abstractions from theZstd.Streamingmodule.) -
When your usage is dominated by lots of small messages (presumably using pre-computed compression dictionaries), use the
Zstd.Efficientmodule to amortize the cost of allocating and initializing context and dictionary values.
Join in
If you'd like to help improve the code, please read the contribution guidelines. This discusses how to file bugs and submit changes to the code itself.
API documentation
The APIs should be easy to understand and work with, and you can find documentation on Hackage.
