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 [faq],,
Dependencies base (>=4.7 && <4.9), 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 Thu Mar 17 10:10:21 UTC 2016
Distributions NixOS:
Downloads 1121 total (57 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 2016-03-17 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees