Hi,
I am pleased to announce the immediate availability of version 0.0.10
of core.rrb-vector, a Clojure Contrib library enabling
logarithmic-time concatenation and slicing of Clojure(Script) vectors.
Leiningen:
[org.clojure/core.rrb-vector "0.0.10"]
Maven:
<dependency>
<groupId>org.clojure</groupId>
<artifactId>core.rrb-vector</artifactId>
<version>0.0.10</version>
</dependency>
Gradle:
compile "org.clojure:core.rrb-vector:0.0.10"
The public API is exported by the clojure.core.rrb-vector namespace:
(require '[clojure.core.rrb-vector :as fv])
Most users will only be interested in two functions: fv/catvec and
fv/subvec. These can be used with regular Clojure vectors (including
vectors of primitives and "view vectors" created with
clojure.core/subvec); there is no need to construct RRB vectors by
hand.
(fv/catvec (fv/subvec [0 1 2] 1 2) [3 4 5])
;= [1 3 4 5]
New in this release:
* Several important bug fixes; existing users should upgrade ASAP!
* Stress testing using Zach Tellman's great collection-check library
(which helped catch some of the aforementioned bugs); many thanks
for this one, Zach!
* Support for the transient API.
* ClojureScript version (same API minus vector-of).
* Some forgotten Java interfaces implemented for RRB vectors.
* New behaviour of fv/vec (when passed a vector, reuses its tree).
The repository for this project is located here:
https://github.com/clojure/core.rrb-vector
See the README or (doc clojure.core.rrb-vector) for additional details.
Cheers,
Michał
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.