bitvec: Unboxed bit vectors

[ bit-vectors, data, library, public-domain ] [ Propose Tags ]

Bit vectors library for Haskell. The current vector package represents unboxed arrays of Bool allocating one byte per boolean, which might be considered wasteful. This library provides a newtype wrapper Bit and a custom instance of unboxed Vector, which packs booleans densely. It is a time-memory tradeoff: 8x less memory footprint at the price of moderate performance penalty (mostly, for random writes).

Versions [faq] 0.1, 0.1.0.1, 0.1.0.2, 0.1.1.0, 0.2.0.0 (info)
Change log changelog.md
Dependencies base (>=4.8 && <5), primitive, vector (>=0.8) [details]
License LicenseRef-PublicDomain
Author James Cook <mokus@deepbondi.net>, Andrew Lelechenko <andrew.lelechenko@gmail.com>
Maintainer Andrew Lelechenko <andrew.lelechenko@gmail.com>
Category Data, Bit Vectors
Home page https://github.com/Bodigrim/bitvec
Source repo head: git clone git://github.com/Bodigrim/bitvec.git
Uploaded by Bodigrim at Tue Feb 12 23:13:27 UTC 2019
Distributions NixOS:0.2.0.0, Stackage:0.2.0.0
Downloads 1586 total (131 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-12 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees