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.

Versions [faq] 0.1.0.0, 0.1.0.1, 0.2.0.0
Change log ChangeLog.md
Dependencies base (==4.10.*), binary (>=0.8.4.1 && <0.9), bytestring (==0.10.*), 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 NixOS:0.2.0.0, Stackage:0.1.0.1
Downloads 1830 total (110 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-02-28 [all 3 reports]

Modules

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees