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 compact package which provides a user-facing API.

Dependencies base (>=4.9.0 && <4.11), bytestring (>= && <0.11), ghc-prim (== || == [details]
License BSD-3-Clause
Revised Revision 1 made by HerbertValerioRiedel at Tue Nov 21 23:13:21 UTC 2017
Category Data
Bug tracker
Source repo head: git clone
Uploaded by HerbertValerioRiedel at Sun Jul 23 14:31:46 UTC 2017
Distributions Arch:, LTSHaskell:, NixOS:
Downloads 406 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




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

For package maintainers and hackage trustees