3 ms·
I think that might mean the opposite of what you think it does. Interning reuses whole String instances. Deduplication is like interning with the exception tha
by chrisseaton 12y ago
I think that might mean the opposite of what you think it does.
Interning reuses whole String instances. Deduplication is like interning with the exception that it does not reuse the whole String instance, it just reuses the char array. Therefore surely deduplication does not reuse String instances.