UTF-8 Validation with the Vector API (Performance)

August Nagro augustnagro at gmail.com
Thu Mar 4 23:49:31 UTC 2021


Hello,

A while back I implemented simd-json's UTF-8 validation using the
vector API. It could be considered the first step towards implementing
simd-json completely with Java.

The simd-json developers seem interested, which is cool. The only
problem is that it's very slow, and I don't have the knowledge to make
it faster. Hopefully I can get away with saying it's the Vector api's
fault and not mine. :)

If anyone has suggestions or is interested in grocking the code
(there's not much of it), this is the github repo:
https://github.com/AugustNagro/utf8.java

Cheers,

August


More information about the panama-dev mailing list