I just noticed that `Map.minus()` extension always...
# stdlib
d
I just noticed that
Map.minus()
extension always creates a new Map, even if key ends up to not exist in a current map. Using logic like
return if (containsKey(key)) minus(key) else this
would save an extra allocation (for Android users). Would it be sensible to create a YouTrack issue for this? Or there are reasons not to go this way?