A pluggable, manipulable memoization framework for Clojure.
- pluggable memoization
- manipulable memoization
- a
memo
function to replacecore.memoize
- a fifo memoization strategy
- lru memoization
- soft references memoization
- expiry memoization
- swappable memoization strategies
- composable strategies (via map interfaces)
- pass-through cache
- LIRS
- more docs and examples
- cache profiling
- code cleanup
unk is inspired by section 12.4 in The Joy of Clojure which is in turn inspired by the memoization philosophy espoused by Christophe Grand, Eugen Dück, and Meikel Brandmeyer. In addition, I would like to thank Chas Emerick for his memoization based on SoftReferences.
Copyright (C) 2011 Fogus
Distributed under the Eclipse Public License, the same as Clojure.