Housekeeping
This commit is contained in:
parent
52ebdada10
commit
f5b2b14320
1 changed files with 4 additions and 4 deletions
|
|
@ -199,10 +199,10 @@
|
||||||
id-list (apply list (coll-thaw! s)) ; TODO OOMs for big colls
|
id-list (apply list (coll-thaw! s)) ; TODO OOMs for big colls
|
||||||
id-vector (into [] (coll-thaw! s))
|
id-vector (into [] (coll-thaw! s))
|
||||||
id-set (into #{} (coll-thaw! s))
|
id-set (into #{} (coll-thaw! s))
|
||||||
;; id-map (apply hash-map (coll-thaw! s)) ; OOMs for big colls
|
;; 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 {} (map vec (partition 2 (coll-thaw! s))) ; ~6.4x time
|
||||||
;; id-map (into {} (utils/pairs (coll-thaw! s))) ; ~1.8x 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)) ; ~0.8x time
|
||||||
id-coll (doall (coll-thaw! s))
|
id-coll (doall (coll-thaw! s))
|
||||||
id-queue (into (PersistentQueue/EMPTY) (coll-thaw! s))
|
id-queue (into (PersistentQueue/EMPTY) (coll-thaw! s))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue