Skip to content

Commit 87d252e

Browse files
committed
simdutf: update to 8.0.0
This patch updates vendored simdutf to 8.0.0: https://github.com/simdutf/simdutf/releases/tag/v8.0.0, and makes use of simdutf's own C API.
1 parent 09bc7cf commit 87d252e

8 files changed

Lines changed: 73294 additions & 34450 deletions

File tree

cbits/validate_utf8.cpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

simdutf/hs_simdutf.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "simdutf_c.h"
2+
3+
bool _hs_text_is_valid_utf8_offset(const char *buf, size_t off, size_t len) {
4+
return simdutf_validate_utf8(buf + off, len);
5+
}

simdutf/simdutf.cpp

Lines changed: 61930 additions & 33236 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)