-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid unnecessarily allocating an array when initializing String
from a sequence of bytes
#4813
Conversation
…om a sequence of bytes.
Will these changes automatically make it into the Darwin implementation once merged or do we need to create an Apple feedback report for that? |
The Darwin implementation (and future everywhere implementation) is over here: https://github.com/apple/swift-foundation/blob/main/Sources/FoundationEssentials/String/String%2BEssentials.swift#L86 |
Oh nice, it already has this optimization! |
@parkera Should we merge this? |
@swift-ci test |
The macOS issue seems to be
|
@swift-ci test macos |
All checks passed! |
Happy New Year! Please review. 🙏 |
No description provided.