Skip to content

Commit 2b51181

Browse files
authored
Update README.md
1 parent 46ccf79 commit 2b51181

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SimdUnicode
22
[![.NET](https://github.com/simdutf/SimdUnicode/actions/workflows/dotnet.yml/badge.svg)](https://github.com/simdutf/SimdUnicode/actions/workflows/dotnet.yml)
33

4-
This is a fast C# library to process unicode strings.
4+
This is a fast C# library to validate UTF-8 strings.
55

66

77
## Motivation
@@ -10,9 +10,11 @@ We seek to speed up the `Utf8Utility.GetPointerToFirstInvalidByte` function. Usi
1010

1111
- John Keiser, Daniel Lemire, [Validating UTF-8 In Less Than One Instruction Per Byte](https://arxiv.org/abs/2010.03090), Software: Practice and Experience 51 (5), 2021
1212

13-
The function is private in the Runtime, but we can expose it manually.
13+
The algorithm in question is part of popular JavaScript runtimes such as Node.js and Bun, [by PHP](https://github.com/php/php-src/blob/90e0ce7f0db99767c58dc21e4213c0f8763f657a/ext/mbstring/mbstring.c#L5270), by Oracle GraalVM and many important systems.
14+
15+
[The function is private in the Microsoft Runtime](https://github.com/dotnet/runtime/blob/4d709cd12269fcbb3d0fccfb2515541944475954/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Validation.cs), but we can expose it manually.
16+
1417

15-
https://github.com/dotnet/runtime/blob/4d709cd12269fcbb3d0fccfb2515541944475954/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Validation.cs
1618

1719

1820
## Requirements
@@ -101,11 +103,7 @@ You can print the content of a vector register like so:
101103

102104
## More reading
103105

104-
105-
https://github.com/dotnet/coreclr/pull/21948/files#diff-2a22774bd6bff8e217ecbb3a41afad033ce0ca0f33645e9d8f5bdf7c9e3ac248
106-
107-
https://github.com/dotnet/runtime/issues/41699
108-
109-
https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/
110-
111-
https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions
106+
- https://github.com/dotnet/coreclr/pull/21948/files#diff-2a22774bd6bff8e217ecbb3a41afad033ce0ca0f33645e9d8f5bdf7c9e3ac248
107+
- https://github.com/dotnet/runtime/issues/41699
108+
- https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/
109+
- https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions

0 commit comments

Comments
 (0)