Housekeeping

This commit is contained in:
Peter Taoussanis 2012-12-05 13:47:54 +07:00
parent 52ebdada10
commit f5b2b14320

View file

@ -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))