Skip to content

Commit ac61da8

Browse files
committed
- formatting
- avoid map in ObjMap for now until we get our ducks in a row
1 parent 42bb870 commit ac61da8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12365,9 +12365,7 @@ reduces them without incurring seq initialization"
1236512365
(-conj [coll entry]
1236612366
(if (vector? entry)
1236712367
(-assoc coll (-nth entry 0) (-nth entry 1))
12368-
(reduce -conj
12369-
coll
12370-
entry)))
12368+
(reduce -conj coll entry)))
1237112369

1237212370
IEmptyableCollection
1237312371
(-empty [coll] (with-meta (. ObjMap -EMPTY) meta))
@@ -12381,8 +12379,9 @@ reduces them without incurring seq initialization"
1238112379
ISeqable
1238212380
(-seq [coll]
1238312381
(when (pos? (alength keys))
12384-
(map #(vector % (unchecked-get strobj %))
12385-
(.sort keys obj-map-compare-keys))))
12382+
(prim-seq
12383+
(.map (.sort keys obj-map-compare-keys)
12384+
#(unchecked-get strobj %)) 0)))
1238612385

1238712386
ICounted
1238812387
(-count [coll] (alength keys))

0 commit comments

Comments
 (0)