Oracle and Intel are developing a Java API to add first-class vector, or SIMD (single instruction, multiple data), support to the platform, which could yield big performance gains. Part of Project ...
The JDK algorithm is very optimized, and uses intrinsics to check negatives (for the ASCII shortcut) and to elide array bound checks. In the vectorized algorithm, 256 bit vectors currently perform ...