Another pure-haskell CDB (Constant Database) implementation https://github.com/bosu/pure-cdb

Latest on Hackage:0.1.2

See all snapshots pure-cdb appears in

BSD-3-Clause licensed and maintained by Boris Sukholitko

Module documentation for 0.1.2

This version can be pinned in stack with:[email protected]:86bdcacb8c1cae926829afe7016fbb187e0aa4a77dce4dbf5394667e8e2683a5,1793

A library for reading and writing CDB (Constant Database) files.

CDB files are immutable key-value stores, designed for extremely fast and memory-efficient construction and lookup. They can be as large as 4GB, and at no point in their construction or use must all data be loaded into memory. CDB files can contain multiple values for a given key.

For more information on the CDB file format, please see: http://cr.yp.to/cdb.html

Please note, that there is another pure Haskell CDB library on Hackage: http://hackage.haskell.org/package/hs-cdb, using memory mapped bytestrings for IO. It served as an inspiration for this package.