simdjson-java icon indicating copy to clipboard operation
simdjson-java copied to clipboard

Optimize Utf8Validator with constant input Vector.slice API

Open jatin-bhateja opened this issue 3 months ago • 2 comments
trafficstars

Patch replaces existing bulky handling for pulling in the last, second last, and third last byte of the previous byte vector chunk in Utf8Validator with an optimized constant input Vector.slice API.

The following are the results of the performance analysis of Utf8ValidatorBenchmark on an AMD Ryzen 7 7840HS 8C 16T AVX512 system and i3 13th Gen Intel

image image

jatin-bhateja avatar Aug 06 '25 18:08 jatin-bhateja