From f532499019715e31f4e95c22691f60f1d3f0338a Mon Sep 17 00:00:00 2001 From: Chris Nuernberger Date: Wed, 30 Sep 2020 08:36:30 -0600 Subject: [PATCH] Changed project name for testing. Stuck on regex comparison. --- project.clj | 2 +- src/taoensso/min_encore.clj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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.)]