lu-cache-factory
function
clojure.core.cache/lu-cache-factory
(lu-cache-factory [base & {threshold :threshold, :or {threshold 32}}])Returns an LU cache with the cache and usage-table initialized to `base`.
This function takes an optional `:threshold` argument that defines the maximum number
of elements in the cache before the LU semantics apply (default is 32).
Examples
No examples yet. Be the first to add one!