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 ...