diff --git a/README.md b/README.md index 5e724af..561ae8d 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ CDS (Clojure Documentation Site) is a contributor-friendly community project aim ## Contact & Contribution -Reach me (Peter Taoussanis) at *ptaoussanis at gmail.com* for questions/comments/suggestions/whatever. I'm very open to ideas if you have any! I'm also on Twitter: [@ptaoussanis](https://twitter.com/#!/ptaoussanis). +Reach me (Peter Taoussanis) at [taoensso.com](https://www.taoensso.com) for questions/comments/suggestions/whatever. I'm very open to ideas if you have any! I'm also on Twitter: [@ptaoussanis](https://twitter.com/#!/ptaoussanis). ## License diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 78b8ed6..0037a2d 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -82,8 +82,6 @@ (defprotocol Freezable (freeze [this stream])) -(comment (meta '^:DataOutputStream s)) - (defmacro freezer "Helper to extend Freezable protocol." [type id & body] @@ -199,10 +197,7 @@ id-list (apply list (coll-thaw! s)) ; TODO OOMs for big colls id-vector (into [] (coll-thaw! s)) id-set (into #{} (coll-thaw! s)) - ;; id-map (apply hash-map (coll-thaw! s)) ; OOMs for big colls - ;; id-map (into {} (map vec (partition 2 (coll-thaw! s))) ; ~6.4x time - ;; id-map (into {} (utils/pairs (coll-thaw! s))) ; ~1.8x time - id-map (into {} (coll-thaw-pairs! s)) ; ~0.8x time + id-map (into {} (coll-thaw-pairs! s)) id-coll (doall (coll-thaw! s)) id-queue (into (PersistentQueue/EMPTY) (coll-thaw! s))