compact: Non-GC'd, contiguous storage for immutable data structures

[ bsd3, data, library ] [ Propose Tags ]

This package provides user-facing APIs 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). This package is currently highly experimental, but we hope it may be useful to some people. It is GHC 8.2 only. The bare-bones library that ships with GHC is ghc-compact.

Modules

[Last Documentation]

  • Data
    • Data.Compact
      • Data.Compact.Serialize

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0
Change log ChangeLog.md
Dependencies base (>=4.10 && <4.11), binary (>=0.8.4.1 && <0.9), bytestring (>=0.10 && <0.11), ghc-compact [details]
License BSD-3-Clause
Copyright (c) 2017 Edward Z. Yang, Ben Gamari
Author Edward Z. Yang, Ben Gamari
Maintainer ezyang@mit.edu, ben@smart-cactus.org
Category Data
Uploaded by EdwardYang at 2017-02-28T06:40:03Z
Distributions LTSHaskell:0.2.0.0, NixOS:0.2.0.0, Stackage:0.2.0.0
Reverse Dependencies 9 direct, 31 indirect [details]
Downloads 4277 total (37 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-02-28 [all 3 reports]