-
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
Replace calls to CFStringCreateWithCString with constant CFStrings #4694
Conversation
@compnerd Is this good? |
I'm conflicted on this. This is diverging CoreFoundation, but not for fixing bugs. But on the other hand, we have not updated the CoreFoundation in use here for a while. Plus, with What's next for Foundation, I expect that this code will not live too far into the future. So is this really worth it? |
CC: @parkera |
a2a752e
to
43c1c59
Compare
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.
I think using constant strings here is fine. One code style fix that needs to be made first before merging.
@parkera Done! |
43c1c59
to
fe1098d
Compare
@swift-ci test |
313e5a4
to
ee7a570
Compare
@compnerd Could you please run the tests again and merge? |
@swift-ci please test |
@compnerd Seems like the macOS Jenkins instance is broken; it will not start the pipeline |
3a0d9e1
to
59c71f7
Compare
59c71f7
to
428cb5f
Compare
@swift-ci test |
428cb5f
to
84dd1ab
Compare
@parkera Everything is fixed. Can we do this one more time? |
84dd1ab
to
8faff37
Compare
@compnerd Could you please run the tests again and merge? |
This would save performance by removing unnecessary calls to CFStringCreateWithCString.
8faff37
to
10b2bd4
Compare
@swift-ci test |
Thank you! |
This might be regressing the Windows build: |
This would save performance by removing unnecessary calls to CFStringCreateWithCString