Re:JVM Anatomy Quark #10: String.intern (2019)
by kmonsen on Wednesday June 22, 2022 @11:43PM
(#31844961)
I think using == for strings is a mistake even if they are interned, except of course in some very controlled circumstances internally in a library if it gives a performance benefit. I don't want to look at my code and need to know if I string is interned to know if it is correct.
[ Parent
| on HN ]
There are no comments on this comment yet.