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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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.


Change log None available
Dependencies base (>=4.9.0 && <4.20), bytestring (>= && <0.13), ghc-prim (>=0.5.3 && <0.12) [details]
License BSD-3-Clause
Category Data
Bug tracker
Source repo head: git clone
Uploaded by BenGamari at 2023-10-09T17:11:50Z


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees