You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice work Piotr!
Please feel free to use or copy the utf8 validation code as you wish.
While the code is correct you may find new optimization opportunities. The
vector api has certainly improved since java 17. I personally have been
waiting for the API to graduate from 'incubator' to 'preview' to give the
library an overhaul. It's also my (perhaps outdated) understanding that the
vector api will only ship after valhalla value types.
There was an effort here to improve the library with loop unrolling, etc:
https://github.com/merykitty/utf8-validator/tree/master
The C++ version of simdjson validates character encoding. We would like to have such validation in simdjson-java as well.
Perhaps, as @amCap1712 suggested, we may utilize the great work done by @AugustNagro: https://github.com/AugustNagro/utf8.java
The text was updated successfully, but these errors were encountered: