Cache results in an n-long array.
As with arrayMemo, but memoizing double results !=
sentinel.
Cache results in a hash map.
Cache results in a hash map. Nonsensical unless K has
a meaningful hashCode and java.lang.Object.equals.
As this memo uses a single var, it's
thread-safe.
Cache results in a tree map.
Cache results in a tree map. As this memo uses a single var, it's thread-safe.
Cache results in a list map.
Cache results in a list map. Nonsensical unless K has
a meaningful java.lang.Object.equals. As this memo uses a single var, it's
thread-safe.
(Since version 7.2.19) removed in scalaz 7.3: not efficient
Cache results in a scala.collection.mutable.HashMap.
Cache results in a scala.collection.mutable.HashMap.
Nonsensical if K lacks a meaningful hashCode and
java.lang.Object.equals.
(Since version 7.2.19) removed in scalaz 7.3: not thread safe, relies on Object
(Since version 7.2.19) removed in scalaz 7.3: leaks mutable state, not thread safe
As with mutableHashMapMemo, but forget elements according to
GC pressure.
As with mutableHashMapMemo, but forget elements according to
GC pressure.
(Since version 7.2.19) removed in scalaz 7.3: not thread safe, relies on Object, not efficient