Maximum size for a join operand. This helps controlling large joins by throwing error instead of going out of memory.
Maximum size for a join operand. This helps controlling large joins by throwing error instead of going out of memory.
(difference s1)(difference s1 s2)(difference s1 s2 & sets)Faster version of clojure.set/difference.
Faster version of clojure.set/difference.
(index xrel ks)Faster clojure.set/index with a compatible interface. TODO: generative comparison with set/index.
Faster clojure.set/index with a compatible interface. TODO: generative comparison with set/index.
(index* rel ks)Alternative clojure.set/index with a different (but non-compatible) interface using native and mutable types.
Alternative clojure.set/index with a different (but non-compatible) interface using native and mutable types.
(intersection s1)(intersection s1 s2)(intersection s1 s2 & sets)Optimized version of clojure.set/intersection. It's mostly compatible,
but it expects strict sets as arguments (which should be the case). However
clojure.set/intersection also accepts other types with unpredictable results.
Optimized version of `clojure.set/intersection`. It's mostly compatible, but it expects strict sets as arguments (which should be the case). However clojure.set/intersection also accepts other types with unpredictable results.
(intersection* s1)(intersection* s1 s2)(intersection* s1 s2 & sets)Like clojure.set/intersection, but returns a java.util.HashSet
Like clojure.set/intersection, but returns a java.util.HashSet
(join xrel yrel)(join xrel yrel km)(join xrel yrel x-keys y-keys)Optimized version of clojure.set/join about 4x faster.
Optimized version of clojure.set/join about 4x faster.
(kset xrel)Transforms the result of kset-native into a Clojure set.
Transforms the result of kset-native into a Clojure set.
(kset-native xrel)Retrieve the keyset (the attributes) of relation xrel. Returns a Java HashSet.
Retrieve the keyset (the attributes) of relation xrel. Returns a Java HashSet.
(map-invert m)Returns the map with the vals mapped to the keys.
Returns the map with the vals mapped to the keys.
(maps f s)Like map but for sets, returning a set.
Like `map` but for sets, returning a set.
(project xrel ks)Faster version of clojure.set/project
Faster version of clojure.set/project
(project* xrel k1)(project* xrel k1 k2)(project* xrel k1 k2 k3)(project* xrel k1 k2 k3 k4)(project* xrel k1 k2 k3 k4 k5)Version of clojure.set/project supporting specific arities for keys. TODO: work in progress, it doesn't perform better than normal project.
Version of clojure.set/project supporting specific arities for keys. TODO: work in progress, it doesn't perform better than normal project.
(rename xrel kmap)(rename xrel k1 k2)Like clojure.set/rename but no meta and optimized. The additional arity with k1 k2...kN can be used to rename a known number of keys.
Like clojure.set/rename but no meta and optimized. The additional arity with k1 k2...kN can be used to rename a known number of keys.
(rename-keys m kmap)Like clojure.set/rename-keys, just way uglier and 40% faster.
Like clojure.set/rename-keys, just way uglier and 40% faster.
(select pred s)Faster version of clojure.set/select
Faster version of clojure.set/select
(select-key m k1)(select-key m k1 k2)(select-key m k1 k2 k3)(select-key m k1 k2 k3 k4)(select-key m k1 k2 k3 k4 k5)Like core/select-keys but with specific arities
Like core/select-keys but with specific arities
(select-keys m ks)Like core/select-keys but uses a transient to collect results. Note: differently from core/select-keys, it doesn't retain metadata. TODO: generative comparison with core/select-keys.
Like core/select-keys but uses a transient to collect results. Note: differently from core/select-keys, it doesn't retain metadata. TODO: generative comparison with core/select-keys.
(select-keys* m ks)Alternative to core/select-keys which retrieves the values corresponding
to ks within an ABox instance.
Alternative to core/select-keys which retrieves the values corresponding to `ks` within an `ABox` instance.
(union)(union s1)(union s1 s2)(union s1 s2 s3)(union s1 s2 s3 s4)(union s1 s2 s3 s4 s5)(union s1 s2 s3 s4 s5 & sets)Like core.set/union but with arities optimizations.
Like core.set/union but with arities optimizations.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |