@@ -12401,7 +12401,7 @@ reduces them without incurring seq initialization"
1240112401 (reduce -conj coll entry)))
1240212402
1240312403 IEmptyableCollection
12404- (-empty [coll] (with-meta (. ObjMap -EMPTY) meta))
12404+ (-empty [coll] (- with-meta (. ObjMap -EMPTY) meta))
1240512405
1240612406 IEquiv
1240712407 (-equiv [coll other] (equiv-map coll other))
@@ -12433,14 +12433,14 @@ reduces them without incurring seq initialization"
1243312433 (if-not (nil? (scan-array 1 k keys))
1243412434 (let [new-strobj (obj-clone strobj keys)]
1243512435 (gobject/set new-strobj k v)
12436- (ObjMap. meta keys new-strobj nil )) ; overwrite
12437- (let [new-strobj (obj-clone strobj keys) ; append
12438- new-keys (aclone keys)]
12436+ (ObjMap. meta keys new-strobj nil )) ; overwrite
12437+ (let [new-strobj (obj-clone strobj keys) ; append
12438+ new-keys (aclone keys)]
1243912439 (gobject/set new-strobj k v)
1244012440 (.push new-keys k)
1244112441 (ObjMap. meta new-keys new-strobj nil )))
1244212442 ; non-string key. game over.
12443- (with-meta (into ( simple-hash-map k v) ( seq coll)) meta)))
12443+ (- with-meta (apply simple-hash-map k v ( - seq coll)) meta)))
1244412444 (-contains-key? [coll k]
1244512445 (if (and (string? k)
1244612446 (not (nil? (scan-array 1 k keys))))
@@ -12662,7 +12662,7 @@ reduces them without incurring seq initialization"
1266212662 [& keyvals]
1266312663 (loop [in (seq keyvals), out (. HashMap -EMPTY)]
1266412664 (if in
12665- (recur (nnext in) (assoc out (first in) (second in)))
12665+ (recur (nnext in) (- assoc out (first in) (second in)))
1266612666 out)))
1266712667
1266812668(deftype Set [meta hash-map ^:mutable __hash]
@@ -12683,7 +12683,7 @@ reduces them without incurring seq initialization"
1268312683 (-equiv [coll other]
1268412684 (and
1268512685 (set? other)
12686- (= (count coll) (count other))
12686+ (= (- count coll) (count other))
1268712687 (every? #(contains? coll %)
1268812688 other)))
1268912689
@@ -12694,7 +12694,7 @@ reduces them without incurring seq initialization"
1269412694 (-seq [coll] (keys hash-map))
1269512695
1269612696 ICounted
12697- (-count [coll] (count (seq coll)))
12697+ (-count [coll] (- count (- seq coll)))
1269812698
1269912699 ILookup
1270012700 (-lookup [coll v]
@@ -12706,7 +12706,7 @@ reduces them without incurring seq initialization"
1270612706
1270712707 ISet
1270812708 (-disjoin [coll v]
12709- (Set. meta (dissoc hash-map v) nil ))
12709+ (Set. meta (- dissoc hash-map v) nil ))
1271012710
1271112711 IEditableCollection
1271212712 (-as-transient [coll]
@@ -12736,11 +12736,11 @@ reduces them without incurring seq initialization"
1273612736(defn simple-set
1273712737 [coll]
1273812738 (if (set? coll)
12739- (with-meta coll nil )
12739+ (- with-meta coll nil )
1274012740 (let [in (seq coll)]
1274112741 (if (nil? in)
1274212742 #{}
1274312743 (loop [in in out (. Set -EMPTY)]
1274412744 (if-not (nil? in)
12745- (recur (next in) (conj out (first in)))
12745+ (recur (next in) (- conj out (first in)))
1274612746 out))))))
0 commit comments