mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: In performance tests was shown that the current base 64 encoding function doesn’t perform very well. https://github.com/apple/swift-nio/issues/1322 Modifications: This commit replaces the current Base64 implementation with a more performant one (by using UInt8 bytes instead of Unicode.Scalars). Result: The API will stay the same. Base64 encoding is just faster.