scala-collection-contrib icon indicating copy to clipboard operation
scala-collection-contrib copied to clipboard

Eliminate usages of `ImmutableBuilder`

Open joshlemer opened this issue 6 years ago • 0 comments
trafficstars

ImmutableBuilder is currently being used as the default builder implementation for:

  • immutable.MultiDict
  • immutable.SortedMultiDict
  • immutable.MultiSet
  • immutable.SortedMultiSet

However, it should be possible, for the sake of performance, to build mutating versions of these, which would mostly be delegating to already-implemented mutating builders of Maps in the standard library (i.e. scala.collection.immutable.{MapBuilderImpl, HashMapBuilder})

joshlemer avatar Apr 25 '19 13:04 joshlemer