array-primops: Extra foreign primops for primitive arrays

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

Boxed arrays cannot be allocated without initialization, because in that case the garbage collector would try to follow wild pointers. This is a source of inefficiency; quite a few operations must allocate a new array, initialize it, then overwrite the initial elements with the actually relevant data. This package provides low-level primitives for doing such operations without superfluous copying.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.0.1
Dependencies base (>=4.7 && <5), ghc-prim (>=0.3.1.0) [details]
License BSD-3-Clause
Copyright 2015 András Kovács
Author András Kovács
Maintainer puttamalac@gmail.com
Category Data
Source repo head: git clone https://github.com/AndrasKovacs/array-primops.git
Uploaded by AndrasKovacs at 2017-08-10T09:28:55Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2522 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-10 [all 1 reports]