This is pretty sick. In JDK 25, the String::hashCode function in Java is improved to be mostly constant foldable, meaning the compiler can pre-compute the hash code at compile time when possible. inside.java/2025/05/01/s...
inside.javaStrings Just Got FasterIn JDK 25, Strings used as keys in immutable Maps can be much faster.
0 reposts0 likes