Liking cljdoc? Tell your friends :D

core.memoize v0.5.2 Release Notes

core.memoize is a new Clojure contrib library providing the following features:

  • An underlying PluggableMemoization protocol that allows the use of customizable and swappable memoization caches that adhere to the synchronous CacheProtocol found in core.cache

  • Memoization builders for implementations of common caching strategies, including:

    • First-in-first-out (memo-fifo)
    • Least-recently-used (memo-lru)
    • Least-used (memo-lu)
    • Time-to-live (memo-ttl)
    • Naive cache (memo) that duplicates the functionality of Clojure's memoize function
  • Functions for manipulating the memoization cache of core.memoize backed functions

Places

Changes from v0.5.1

The v0.5.2 version of core.memoize is updated to work with the v0.6.1 version of core.cache

Plans

The following capabilities are under design, development, or consideration for future versions of core.memoize:

  • LIRS backed memoization
  • SoftCache backed memoization
  • Remove references to Unk
  • A defn-memo macro
  • A MapMaker style ctor interface
  • test.generative usage
  • More documentation and examples

More planning is needed around capabilities not listed nor thought of.

Can you improve this documentation? These fine people already did:
Sean Corfield & fogus
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close