Re:Techniques to beat Arrays.hashCode(byte[]) using Java's o...
by oertl on Sunday July 06, 2025 @12:46AM
(#44477913)
Java’s Arrays class provides a utility function to compute a 32-bit hash value for a given byte[] array. The function was introduced in Java 1.5, and therefore, one could assume that its implementation has been highly optimized in the meantime. So, it is astonishing that we still found faster pure Java implementations beating the default and the intrinsic implementations of OpenJDK 24.
[ Parent
| on HN ]
There are no comments on this comment yet.