@milessabin I don't think there would be too much work in reimplementing all of java.lang.String's methods to return singletons where poss'.
-
-
Replying to @propensive @milessabin
HotSpot special cases java.lang.String in a ton of ways. It would be a massive perf hit to have a diff type.
1 reply 1 retweet 2 likes -
Replying to @djspiewak @milessabin
I think it's fine - it could be a value type around j.l.String...
1 reply 0 retweets 0 likes -
Replying to @propensive @milessabin
That would work except in all the cases where value types aren't erased.
1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.