2 ms·
I think it's standard java behaviour to .intern string constants appearing in code (i.e. since they are immutable, just share them). The new thing is that the
by riffraff 12y ago
I think it's standard java behaviour to .intern string constants appearing in code (i.e. since they are immutable, just share them).
The new thing is that the JVM is going to do this automatically for strings that _don't_ exist at compile time, IIUC.