Skip to main content

clojure.core.memoize

-

  • ->PluggableMemoization

    Positional factory function for class clojure.core.memoize.PluggableMemoization.

  • ->RetryingDelay

    Positional factory function for class clojure.core.memoize.RetryingDelay.

B

  • build-memoizer

    Builds a function that, given a function, returns a pluggable memoized version of it. `build-memoizer` takes a cache...

F

  • fifo

    Works the same as the basic memoization function (i.e. `memo` and `core.memoize` except when a given threshold is bre...

L

  • lazy-snapshot

    Returns a lazy snapshot of a core.memo-placed memoization cache. By lazy snapshot you can infer that what you get is...

  • lru

    Works the same as the basic memoization function (i.e. `memo` and `core.memoize` except when a given threshold is bre...

  • lu

    Similar to the implementation of memo-lru, except that this function removes all cache values whose usage value is ...

M

  • memo

    Used as a more flexible alternative to Clojure's core `memoization` function. Memoized functions built using `memo` ...

  • memo-clear!

    Reaches into an core.memo-memoized function and clears the cache. This is a destructive operation and should be used...

  • memo-fifo

    DEPRECATED: Please use clojure.core.memoize/fifo instead.

  • memo-lru

    DEPRECATED: Please use clojure.core.memoize/lru instead.

  • memo-lu

    DEPRECATED: Please use clojure.core.memoize/lu instead.

  • memo-reset!

    Takes a core.memo-populated function and a map and replaces the memoization cache with the supplied map. This is pot...

  • memo-swap!

    The 2-arity version takes a core.memo-populated function and a map and replaces the memoization cache with the supplie...

  • memo-ttl

    DEPRECATED: Please use clojure.core.memoize/ttl instead.

  • memoized?

    Returns true if a function has an core.memo-placed cache, false otherwise.

  • memoizer

    Build a pluggable memoized version of a function. Given a function and a (pluggable memoized) cache, and an optional s...

S

  • snapshot

    Returns a snapshot of a core.memo-placed memoization cache. By snapshot you can infer that what you get is only the ...

T

  • ttl

    Unlike many of the other core.memo memoization functions, `memo-ttl`'s cache policy is time-based rather than algorit...