Package0.1.0.0Data
ghc-compact
In memory storage of deeply evaluated data structure
- Version0.1.0.0
- CategoryData
- LicenceBSD-3-Clause
- Maintainerlibraries@haskell.org
- Pinned bywith GHC
- Sourcehackage.haskell.org/package/ghc-compact-0.1.0.0
Modules
2 modules- GHC.Compact12This module provides a data structure, called a Compact, for
- GHC.Compact.Serialized4This module contains support for serializing a Compact for network
Description
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.
Depends on
3 packages- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- ghc-prim-0.12.0with GHC