Skip to content
Browse files

Removing comments

  • Loading branch information...
1 parent 0b17c52 commit 0cce0bcb60f09a47cec2e142837f51c26b27578c @fogus fogus committed Jul 24, 2012
Showing with 0 additions and 24 deletions.
  1. +0 −24 src/main/clojure/clojure/core/cache.clj
View
24 src/main/clojure/clojure/core/cache.clj
@@ -182,15 +182,6 @@
(into {} (take (- limit (count base)) (for [k (range (- limit) 0)] [k k])))
(into {} (for [[k _] base] [k start-at]))))
-(comment
-
- (-> (clojure.core.cache/lru-cache-factory {} :threshold 2)
- (assoc :a 1)
- (assoc :b 2)
- (assoc :b 3)
- )
-
-)
(defcache LRUCache [cache lru tick limit]
CacheProtocol
@@ -283,21 +274,6 @@
(str cache \, \space ttl \, \space ttl-ms)))
-(comment
-
- (-> (clojure.core.cache/lu-cache-factory {} :threshold 3)
- (assoc :a 1)
- (assoc :b 2)
- (assoc :b 3)
- (assoc :c 4)
- (assoc :d 5)
- (assoc :e 6)
- ((juxt #(.cache %) #(.lu %) #(.limit %))))
-
-
-)
-
-
(defcache LUCache [cache lu limit]
CacheProtocol
(lookup [_ item]

0 comments on commit 0cce0bc

Please sign in to comment.
Something went wrong with that request. Please try again.