https://github.com/ztellman/clj-tuple.git
git clone 'https://github.com/ztellman/clj-tuple.git'
(ql:quickload :ztellman.clj-tuple)
This library provides efficient implementations for small maps and vectors, discussed more in this post. These implementations will eventually be merged into Clojure proper, but for now can be used by replacing vector
with clj-tuple/vector
and hash-map
with clj-tuple/hash-map
.
[clj-tuple "0.2.2"]
clj-tuple> (vector 1 2 3)
[1 2 3]
clj-tuple> (hash-map 1 2 3 4)
{1 2, 3 4}
Copyright © 2015 Zachary Tellman
Distributed under the MIT License