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 5c25acb commit 4eff03dCopy full SHA for 4eff03d
src/main/cljs/cljs/core.cljs
@@ -13014,7 +13014,10 @@ reduces them without incurring seq initialization"
13014
13015
ISet
13016
(-disjoin [coll v]
13017
- (Set. meta (-dissoc hash-map v) nil))
+ (let [new-hash-map (-dissoc hash-map v)]
13018
+ (if (identical? new-hash-map hash-map)
13019
+ coll
13020
+ (Set. meta new-hash-map nil))))
13021
13022
IEditableCollection
13023
(-as-transient [coll]
0 commit comments