@hackage vector0.6.0.2
Efficient Arrays
Categories
License
BSD-3-Clause
Maintainer
Roman Leshchinskiy <rl@cse.unsw.edu.au>
Links
- Homepage
- Documentation
- No source repository
- Changelog
- 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 (both mutable and immutable), with a powerful loop fusion optimization 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.
There is also a (draft) tutorial on common uses of vector.
Please use the project trac to submit bug reports and feature requests.
Changes since version 0.6.0.1
Workaround for GHC bug #4120
Changes since version 0.6
Improved documentation
Changes since version 0.5
More efficient representation of
StorablevectorsBlock copy operations used when possible
TypeableandDatainstancesMonadic combinators (
replicateM,mapMetc.)Better support for recycling (see
createandmodify)Performance improvements