aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorKarl Seguin <karlseguin@users.noreply.github.com>2023-10-07 11:49:21 +0800
committerGitHub <noreply@github.com>2023-10-06 23:49:21 -0400
commitd68f39b5412e0aeb59d71c9f676221212261dc8c (patch)
tree7d92d2bf3634ffdc0ac3e3a461d38b2a18bb0b2b /src/codegen/llvm.zig
parent5a4a5875dc49dd4e027b17b96dd1348822806e58 (diff)
downloadzig-d68f39b5412e0aeb59d71c9f676221212261dc8c.tar.gz
zig-d68f39b5412e0aeb59d71c9f676221212261dc8c.zip
std.unicode.utf8ValidateSlice: optimize implementation (#17329)
Originally inspired by Go's `utf8.Valid` function. Includes some test cases from Go's test suite. Further optimized to be faster in all tested cases (short/long ascii/UTF8), in all release modes. Takes advantage of SIMD for the ASCII fast path.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions