forked from rebolsource/r3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize character decoding in already-validated UTF-8
The UTF-8 Everywhere scheme holds strings in memory as validated UTF-8 bytes, which are known to be good. This means a faster strategy can be used that counts the trailing bytes as it goes, until a continuation byte is seen.
- Loading branch information
1 parent
eaefdef
commit 8a86454
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters