From f5b2b143205c64e473ff966bf4952cdc684c9229 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 5 Dec 2012 13:47:54 +0700 Subject: [PATCH] Housekeeping --- src/taoensso/nippy.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 3b4d10d..78b8ed6 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -199,10 +199,10 @@ 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 x))) ; ~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 (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-coll (doall (coll-thaw! s)) id-queue (into (PersistentQueue/EMPTY) (coll-thaw! s))