Files
swift-nio-imap/Tests/NIOIMAPCoreTests
Daniel Eggert 5d0d181a30 Decode UTF-8 with String(validating:as:)
The hand-rolled loop (collect [Unicode.Scalar], then build a
UnicodeScalarView) regrew the string per scalar and was a dominant
source of parser allocations. Best-effort decoding gets the same fast
path, and no longer returns "" for non-contiguous input.

Renames String+ByteBuffer.swift to String+UTF8Bytes.swift; it never
touched ByteBuffer.
2026-11-20 12:49:17 +01:00
..
2026-03-09 09:58:21 -04:00