3 ms·
See also the port of Lemire's SIMD UTF8 validation in java: https://github.com/AugustNagro/utf8.java/blob/master/src/main/java/com/augustnagro/utf8/Utf8.java h
by The_rationalist 6y ago
See also the port of Lemire's SIMD UTF8 validation in java:
https://github.com/AugustNagro/utf8.java/blob/master/src/main/java/com/augustnagro/utf8/Utf8.java https://github.com/AugustNagro/utf8.java/blob/master/src/mai...
Which is made possible since openjdk 16 (the Vector API) however the results aren't yet impressive, and the openjdk devs are currently optimizing the SIMD generation for it