@hackage vector0.5
Efficient Arrays
Categories
License
BSD-3-Clause
Maintainer
Roman Leshchinskiy <rl@cse.unsw.edu.au>
Links
- Homepage
- Documentation
- No source repository
- Security
Versions
Installation
Dependencies (3)
Dependents (2611)
@hackage/arbor-datadog, @hackage/tcod-haskell, @hackage/hsndfile-vector, @hackage/timeseries, @hackage/pgmq-hasql, @hackage/gridland, Show all…
Package Flags
boundschecks
(on by default)
Enable bounds checking
unsafechecks
(off by default)
Enable bounds checking in unsafe operations at the cost of a significant performance penalty
internalchecks
(off by default)
Enable internal consistency checks at the cost of a significant performance penalty
An efficient implementation of Int-indexed arrays with a powerful loop fusion framework.
It is structured as follows:
Data.Vector- Boxed vectors of arbitrary types.
Data.Vector.Unboxed- Unboxed vectors with an adaptive representation based on data type families.
Data.Vector.Storable- Unboxed vectors of
Storabletypes. Data.Vector.Primitive- Unboxed vectors of primitive types as
defined by the
primitivepackage.Data.Vector.Unboxedis more flexible at no performance cost. Data.Vector.Generic- Generic interface to the vector types.
Changes since version 0.4.2
Unboxed vectors of primitive types and tuples
Redesigned interface between mutable and immutable vectors (now with the popular
unsafeFreezeprimitive)Many new combinators
Significant performance improvements