ghc-compact: In memory storage of deeply evaluated data structure

[ bsd3, data, library ] [ Propose Tags ]

This package provides minimal functionality for working with "compact regions", which hold a fully evaluated Haskell object graph. These regions maintain the invariant that no pointers live inside the struct that point outside it, which ensures efficient garbage collection without ever reading the structure contents (effectively, it works as a manually managed "oldest generation" which is never freed until the whole is released). Internally, the struct is stored a single contiguous block of memory, which allows efficient serialization and deserialization of structs for distributed computing. This package provides a low-level API; see also the <packagecompact compact package> which provides a user-facing API.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS]
Dependencies base (>=4.9.0 && <4.19), bytestring (>= && <0.12), ghc-prim (>=0.5.3 && <0.11) [details]
License BSD-3-Clause
Revised Revision 5 made by BenGamari at 2023-07-24T13:56:40Z
Category Data
Bug tracker
Source repo head: git clone
Uploaded by HerbertValerioRiedel at 2017-07-23T14:31:46Z
Distributions Arch:, Fedora:, LTSHaskell:
Reverse Dependencies 8 direct, 49 indirect [details]
Downloads 2076 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]