Hi,
I have just released avl.clj, a library implementing drop-in
replacements for Clojure(Script)'s sorted maps and sets which
additionally support the transients API and logarithmic time rank
queries via clojure.core/nth:
(require '[avl.clj :as avl])
(nth (apply avl/sorted-set (range 10)) 5)
;= 5
Performance is mostly on a par with the built-in red-black-tree-based
variants in my preliminary benchmarking.
If you'd like to take it for a spin, here's the Leiningen/Maven
dependency information for the initial release:
[avl.clj "0.0.1"]
<dependency>
<groupId>avl.clj</groupId>
<artifactId>avl.clj</artifactId>
<version>0.0.1</version>
</dependency>
Project repository:
https://github.com/michalmarczyk/avl.clj
Artefact's page on Clojars:
https://clojars.org/avl.clj
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.