Add support for UTF8Span

Also, refactor validation and grapheme breaking
This commit is contained in:
Michael Ilseman
2025-04-18 08:01:15 -06:00
committed by GitHub
parent c363658147
commit 393c24ddd7
22 changed files with 3365 additions and 467 deletions

View File

@@ -97,7 +97,7 @@ internal func _stringCompareInternal(
}
@_effects(readonly)
private func _stringCompareFastUTF8(
internal func _stringCompareFastUTF8(
_ utf8Left: UnsafeBufferPointer<UInt8>,
_ utf8Right: UnsafeBufferPointer<UInt8>,
expecting: _StringComparisonResult,