We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3832e4 commit 20a32cbCopy full SHA for 20a32cb
src/main/cljs/cljs/core.cljs
@@ -12769,10 +12769,16 @@ reduces them without incurring seq initialization"
12769
(-hash [coll] (caching-hash coll hash-unordered-coll __hash))
12770
12771
ISeqable
12772
- (-seq [coll] (keys hash-map))
+ (-seq [coll]
12773
+ (let [xs (-seq hash-map)]
12774
+ (when (some? xs)
12775
+ (prim-seq (.map (.-arr xs) (fn [kv] (-key kv)))))))
12776
12777
ICounted
- (-count [coll] (-count (-seq coll)))
12778
+ (-count [coll]
12779
+ (let [xs (-seq coll)]
12780
12781
+ (-count xs))))
12782
12783
ILookup
12784
(-lookup [coll v]
0 commit comments