The bytestring-plain package

[Tags: bsd3, library]

More compact representation for strict ByteStrings 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).

Properties

Versions0.1.0.0, 0.1.0.1, 0.1.0.2
Change logChangeLog.md
Dependenciesbase (>=4.6 && <4.9), bytestring (==0.10.*), deepseq (>=1.2 && <1.5), ghc-prim (>=0.3 && <0.5), hashable (>=1.1.1 && <1.3) [details]
LicenseBSD3
Copyright(c) 2013 Herbert Valerio Riedel
AuthorHerbert Valerio Riedel
Maintainerhvr@gnu.org
CategoryData
Home pagehttps://github.com/hvr/bytestring-plain
Bug trackerhttps://github.com/hvr/bytestring-plain/issues
Source repositoryhead: git clone https://github.com/hvr/bytestring-plain.git
this: git clone https://github.com/hvr/bytestring-plain.git(tag v0.1.0.2)
UploadedMon Sep 7 21:16:00 UTC 2015 by HerbertValerioRiedel
DistributionsNixOS:0.1.0.2
Downloads600 total (11 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-09-07 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees