The PrimitiveArray package

[Tags: bsd3, library]

This library provides efficient multidimensional arrays.

In general all operations are (highly) unsafe, no bounds-checking or other sanity-checking is performed. Operations are aimed toward efficiency as much as possible. Goals of the library are to have arrays according to three ideas: immutablemutable arrays, strictlazy arrays, zero-based/lower-bound arrays. Zero-based arrays save one addition on each access if the lower bound or the array is always zero.

We have forked two repa modules: Shape and Index.

Unboxed vectors are available with implementations based on primitive and vector. For some reason, we loose 50% performance with RNAfold if we use vector as the underlying data type, while Nussinov78 does not suffer.


Change logNone available
Dependenciesbase (==4.*), primitive (>=0.4), vector (>=0.9) [details]
CopyrightChristian Hoener zu Siederdissen, 2010-2012
AuthorChristian Hoener zu Siederdissen
Home page
Source repositoryhead: git clone git://
UploadedSun Jul 8 00:59:54 UTC 2012 by ChristianHoener
Downloads3804 total (93 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees