read or learn more
λ λ λ
Fogus' Thoughts on life, programming, and thinking
❤ c clj erl pl frink fth cl org pure icl qi ❤
Follow me on Twitter... or RSS...
Run this blog in mobile
2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002
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 […]
unk is a memoization library for Clojure that provides an extension to the base capabilities. Using unk unk is easy to use. Leiningen [unk “0.9.0”] Maven <dependency> <groupId>unk</groupId> <artifactId>unk</artifactId> <version>0.9.0</version> </dependency> Source Unk is on the Githubs. Straight-up replacement unk can be used in place of clojure.core.memoize. (def slowly (fn [x] (Thread/sleep 3000) x)) (time […]
Continue