@@ -10383,7 +10383,7 @@ reduces them without incurring seq initialization"
10383
10383
(implements? IMeta obj)
10384
10384
(not (nil? (meta obj)))))
10385
10385
10386
- (defn- pr -map-entry [k v]
10386
+ (defn- simple -map-entry [k v]
10387
10387
(reify
10388
10388
IMapEntry
10389
10389
(-key [_] k)
@@ -10429,7 +10429,7 @@ reduces them without incurring seq initialization"
10429
10429
(.map
10430
10430
(js-keys obj)
10431
10431
(fn [k]
10432
- (pr -map-entry
10432
+ (simple -map-entry
10433
10433
(cond-> k (some? (.match k #"^[A-Za-z_\*\+\? !\- '][\w\*\+\? !\- ']*$" )) keyword)
10434
10434
(unchecked-get obj k))))
10435
10435
pr-writer writer opts))
@@ -10610,10 +10610,10 @@ reduces them without incurring seq initialization"
10610
10610
(when (or (keyword? k) (symbol? k))
10611
10611
(if ns
10612
10612
(when (= ns (namespace k))
10613
- (.push lm (pr -map-entry (strip-ns k) v))
10613
+ (.push lm (simple -map-entry (strip-ns k) v))
10614
10614
(recur ns entries))
10615
10615
(when-let [new-ns (namespace k)]
10616
- (.push lm (pr -map-entry (strip-ns k) v))
10616
+ (.push lm (simple -map-entry (strip-ns k) v))
10617
10617
(recur new-ns entries))))
10618
10618
#js [ns lm])))))
10619
10619
@@ -12414,7 +12414,7 @@ reduces them without incurring seq initialization"
12414
12414
(when (pos? (alength keys))
12415
12415
(prim-seq
12416
12416
(.map (.sort keys obj-map-compare-keys)
12417
- #(MapEntry. % (unchecked-get strobj %))))))
12417
+ #(simple-map-entry % (unchecked-get strobj %))))))
12418
12418
12419
12419
ICounted
12420
12420
(-count [coll] (alength keys))
@@ -12562,7 +12562,7 @@ reduces them without incurring seq initialization"
12562
12562
(loop [j 0 ]
12563
12563
(when (< j len)
12564
12564
(do
12565
- (.push arr (MapEntry. (aget bckt j) (aget bckt (inc j)) nil ))
12565
+ (.push arr (simple-map-entry (aget bckt j) (aget bckt (inc j)) nil ))
12566
12566
(recur (+ j 2 )))))
12567
12567
(recur (inc i)))
12568
12568
(prim-seq arr))))))
0 commit comments