News for hackers. Stuff that matters.
Re:Java 7 changed the structure of String by joosters on Friday July 10, 2015 @06:47AM (#9863187)
If your strings are large, then calculating the hash will take time AND the extra 4 bytes for hash storage will be minimal extra overhead.

You can easily find good & bad cases for all of these string implementations. They all have tradeoffs.

There are no comments on this comment yet.