-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Bridge non-ASCII SmallStrings as native Swift Strings rather than by creating CFStrings #25866
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
Bridge non-ASCII SmallStrings as native Swift Strings rather than by creating CFStrings #25866
Conversation
|
This is like three levels of wrong. 😭 (Not that it isn't necessarily necessary, but…sadness.) |
8730c8e to
5f7f795
Compare
|
Yay, down to only 1 level of wrong! |
c82491d to
e487faf
Compare
test/stdlib/TestNSString.swift
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These will continue to fail until we fix the non-smol issues, so are commented out for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also split out this portion and XFAIL it instead, with the JIRA linked.
.xfail(.always("SR-nnnn: ..."))|
@swift-ci please test |
|
@swift-ci please benchmark |
|
Build failed |
|
Build failed |
|
@swift-ci please benchmark |
milseman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor improvements mentioned
test/stdlib/TestNSString.swift
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also split out this portion and XFAIL it instead, with the JIRA linked.
.xfail(.always("SR-nnnn: ..."))|
@swift-ci nominate |
…creating CFStrings. This gets consistent behavior with non-smol Strings when the String contains a BOM
e487faf to
27359bd
Compare
|
@swift-ci please test and merge |
Performance: -O
Code size: -OPerformance: -Osize
Code size: -OsizePerformance: -Onone
Code size: -swiftlibsHow to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview |
|
@swift-ci please test and merge |
2 similar comments
|
@swift-ci please test and merge |
|
@swift-ci please test and merge |
|
@swift-ci test |
|
Build failed |
|
Build failed |
No description provided.