(apv-fast-nth v idx)
(check-integrity! vbsm)
Make sure the vbsm is actually in sorted order. Throws an exception if it's not.
Make sure the vbsm is actually in sorted order. Throws an exception if it's not.
(ensure-vbsm maybe-vbsm)
(ensure-vbsm maybe-vbsm comparator)
(merge-sorted-large vbsm1 vbsm2)
(merge-sorted-large vbsm1 vbsm2 f)
(merge-sorted-optimal vbsm1 vbsm2)
(merge-sorted-optimal vbsm1 vbsm2 f)
(merge-sorted-small vbsm1 vbsm2)
(merge-sorted-small vbsm1 vbsm2 f)
(read-only-vector-backed-sorted-map kv-pairs-vec)
(read-only-vector-backed-sorted-map comparator kv-pairs-vec)
Create a SortedMap implementation backed by a vector of K-V pairs. Creation of this map from an already-sorted vector of pairs is O(1). Lookups are O(log n). assoc / dissoc are not allowed.
Create a SortedMap implementation backed by a vector of K-V pairs. Creation of this map from an already-sorted vector of pairs is O(1). Lookups are O(log n). assoc / dissoc are not allowed.
(vector-backed-sorted-map kv-pairs-vec)
(vector-backed-sorted-map comparator kv-pairs-vec)
Create a SortedMap implementation backed by a vector of K-V pairs. Creation of this map from an already-sorted vector of pairs is O(1). Lookups are O(log n) if the map is never modified; assoc / dissoc calls modify a standard (sorted-map) overlay which is queried first.
Create a SortedMap implementation backed by a vector of K-V pairs. Creation of this map from an already-sorted vector of pairs is O(1). Lookups are O(log n) if the map is never modified; assoc / dissoc calls modify a standard (sorted-map) overlay which is queried first.
(get-comparator this)
(vectorize this)
(vectorize-from this k)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close