array-primops: Extra foreign primops for primitive arrays

[ bsd3, data, library ] [ Propose Tags ]

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.

Versions [RSS] [faq],,
Dependencies base (>=4.7 && <5), ghc-prim (>= [details]
License BSD-3-Clause
Copyright 2015 András Kovács
Author András Kovács
Category Data
Source repo head: git clone
Uploaded by AndrasKovacs at 2017-08-10T09:28:55Z
Distributions NixOS:
Downloads 2196 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-08-10 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees