New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The standard library is missing a mutable.TreeMap implementation. #4147
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4147?orig=1 |
tim8dev said: Well.. I've only implemented insert and contains yet, but we'll see what I can do over the weekend. So, it's at least not slower :D |
tim8dev said: |
@lindydonna said: |
Lucien Pereira (lpereira) said: |
Craig P. Motlin (motlin) said: |
Lucien Pereira (lpereira) said: |
@soc said: Now only mutable.TreeMap is missing. |
@soc said: |
Lucien Pereira (lpereira) said: |
@ruippeixotog said: |
= problem =
When converting code-bases as a proof of concept it is often necessary to have some working code after a short time. Having no mutable sorted implementations of Map is a big obstacle, because it forces code using it to be rewritten (which might make sense in a later step though) and makes it hard to argue that Scala is a good upgrade path from Java.
= analysis =
immutable.TreeMap exists but mutable implementation is missing in Scala's standard library.
= enhancement recommendation =
Scala should ship with support for this data structure.
The text was updated successfully, but these errors were encountered: