Y
Hacker News
new
|
ask
|
show
|
jobs
by
dkersten
3416 days ago
The core.memoize[1] core library (not the clojure.core/memoize function) allows you to specify a core.cache eviction policy (e.g. LRU and others, which is fine for production use.
[1]
https://github.com/clojure/core.memoize
1 comments
latte
3416 days ago
Exactly - core.memoize (or core.cache) is for production vs clojure.core/memoize for prototyping.
link