File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -12514,7 +12514,7 @@ reduces them without incurring seq initialization"
12514
12514
(-seq [coll]
12515
12515
(when (pos? count)
12516
12516
(let [hashes (.sort (js-keys hashobj))]
12517
- (mapcat #(map (fn [[k v]] (MapEntry. k v)) (partition 2 (unchecked-get hashobj %)))
12517
+ (mapcat #(map (fn [[k v]] (MapEntry. k v nil )) (partition 2 (unchecked-get hashobj %)))
12518
12518
hashes))))
12519
12519
12520
12520
ICounted
@@ -12588,8 +12588,6 @@ reduces them without incurring seq initialization"
12588
12588
(recur (inc i) (assoc out (aget ks i) (aget vs i)))
12589
12589
out)))))
12590
12590
12591
- ; ; FIXME: calling this (simple-hash-map) expands the codesize significantly,
12592
- ; ; not clear why at the moment, seems to do less than (hash-map)
12593
12591
(defn simple-hash-map
12594
12592
" keyval => key val
12595
12593
Returns a new hash map with supplied mappings."
You can’t perform that action at this time.
0 commit comments