https://github.com/purcell/redis-memo
Memoize clojure functions using redis as an out-of-process store for cached results
https://github.com/purcell/redis-memo
Last synced: about 1 month ago
JSON representation
Memoize clojure functions using redis as an out-of-process store for cached results
- Host: GitHub
- URL: https://github.com/purcell/redis-memo
- Owner: purcell
- Created: 2010-01-01T11:10:53.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-01-07T11:25:31.000Z (over 15 years ago)
- Last Synced: 2025-01-30T04:24:53.367Z (3 months ago)
- Language: Clojure
- Homepage:
- Size: 70.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
# redis-memo
Provides variants of Clojure's "memoize" function and "defn-memo" macro which
use redis as an out-of-process store for cached results.## Usage
(defn-redis-memo my-function [a b]
...)or
(def my-alias (memoize-with-redis "a-key-prefix" other-func))
## Installation
Via clojars is recommended:
http://clojars.org/org.clojars.sanityinc/redis-memo
## License
BSD