bytestring-plain: Plain byte strings ('ForeignPtr'-less 'ByteString's)
More compact representation for strict ByteString
s avoiding the
overhead and indirection caused by ForeignPtr
.
This representation is useful to reduce the incurred memory overhead when operating with many small, long-lived, distinct byte strings (such as keys for containers).
See documentation in Data.ByteString.Plain for more details about this representation.
As an alternative, recent bytestring
versions provide
Data.ByteString.Short which has a similiar overhead but uses unpinned
memory instead (and thus requires an additional string data copy in
contrast to Data.ByteString.Plain which allows to share the string data
with the associated Data.ByteString value).
Downloads
- bytestring-plain-0.1.0.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.6 && <4.12), bytestring (>=0.10 && <0.11), deepseq (>=1.2 && <1.5), ghc-prim (>=0.3 && <0.6), hashable (>=1.1.1 && <1.3) [details] |
Tested with | ghc >=7.10 && <7.11, ghc >=7.8 && <7.9, ghc >=7.6 && <7.7 |
License | BSD-3-Clause |
Copyright | (c) 2013 Herbert Valerio Riedel |
Author | Herbert Valerio Riedel |
Maintainer | hvr@gnu.org |
Revised | Revision 2 made by HerbertValerioRiedel at 2018-02-21T10:38:33Z |
Category | Data |
Home page | https://github.com/hvr/bytestring-plain |
Bug tracker | https://github.com/hvr/bytestring-plain/issues |
Source repo | head: git clone https://github.com/hvr/bytestring-plain.git this: git clone https://github.com/hvr/bytestring-plain.git(tag v0.1.0.2) |
Uploaded | by HerbertValerioRiedel at 2015-09-07T21:16:00Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3172 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-09-07 [all 1 reports] |