diff --git a/project.clj b/project.clj index 364b516..80a8fde 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.taoensso/nippy "3.0.0" +(defproject com.taoensso/nippy-mincore "3.0.0" :author "Peter Taoussanis " :description "High-performance serialization library for Clojure" :url "https://github.com/ptaoussanis/nippy" diff --git a/src/taoensso/min_encore.clj b/src/taoensso/min_encore.clj index 574e209..874e838 100644 --- a/src/taoensso/min_encore.clj +++ b/src/taoensso/min_encore.clj @@ -306,6 +306,7 @@ [f] ;; Non-racey just as fast as racey, and protects against nils in maps (let [cache0_ (java.util.concurrent.atomic.AtomicReference. nil) + ;;Concurrent hash maps have per-bucket locking if you use the compute* operators. cache1_ (java.util.concurrent.ConcurrentHashMap.) cachen_ (java.util.concurrent.ConcurrentHashMap.)]