Skip to content

Commit 4a04364

Browse files
committed
note that supplied caches are in-memory
Signed-off-by: Sean Corfield <sean@corfield.org>
1 parent a76f953 commit 4a04364

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ core.cache is a Clojure contrib library providing the following features:
77

88
* A `defcache` macro for hooking your `CacheProtocol` implementations into the Clojure associative data capabilities.
99

10-
* Implementations of some basic caching strategies
10+
* Implementations of some basic in-memory caching strategies
1111
- First-in-first-out (FIFOCache)
1212
- Least-recently-used (LRUCache)
1313
- Least-used (LUCache -- sometimes called Least Frequently Used)
@@ -19,9 +19,9 @@ core.cache is a Clojure contrib library providing the following features:
1919

2020
* Factory functions for each existing cache type
2121

22-
* Caches are generally immutable and should be used in conjunction with Clojure's state management, such as `atom`. SoftCache is the exception here, built on top of mutable Java collections, but it can be treated as an immutable cache as well.
22+
* Caches are generally in-memory and immutable and should be used in conjunction with Clojure's state management, such as `atom`. SoftCache is the exception here, an in-memory cache built on top of mutable Java collections, but it can be treated as an immutable cache as well.
2323

24-
The `clojure.core.cache` namespace contains the immutable caches themselves.
24+
The `clojure.core.cache` namespace contains the immutable in-memory caches themselves.
2525
The `clojure.core.cache.wrapped` namespace contains the same API operating on caches wrapped in atoms, which is the "normal" use in the wild (introduced in 0.8.0).
2626

2727
core.cache is based on an old library named Clache that has been thoroughly deprecated.

0 commit comments

Comments
 (0)