Skip to content
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 CFSTR macro #4717

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

AZero13
Copy link
Contributor

@AZero13 AZero13 commented Mar 17, 2023

This would save performance by removing unnecessary calls to CFStringCreateWithCString.

Note: Windows cannot CFSTR to private symbols, so CFXMLInterface is excluded from changes.

@AZero13 AZero13 force-pushed the CFStringCreateWithCString branch from 751a2ca to c628661 Compare March 17, 2023 14:46
@AZero13
Copy link
Contributor Author

AZero13 commented Mar 17, 2023

@compnerd Can we do a full test, but with all platforms this time?

This would save performance by removing unnecessary calls to CFStringCreateWithCString.

Note: Windows cannot CFSTR to private symbols, so CFXMLInterface is excluded from changes.
@AZero13 AZero13 force-pushed the CFStringCreateWithCString branch from c628661 to 0358f2b Compare March 17, 2023 14:52
@AZero13 AZero13 requested a review from compnerd March 17, 2023 14:52
@AZero13
Copy link
Contributor Author

AZero13 commented Mar 17, 2023

@compnerd Reverted.

@compnerd
Copy link
Member

@swift-ci please test

@AZero13
Copy link
Contributor Author

AZero13 commented Mar 20, 2023

@compnerd They passed!

@compnerd
Copy link
Member

@swift-ci please test Windows platform

@AZero13
Copy link
Contributor Author

AZero13 commented Mar 21, 2023

@compnerd It passed! Can we please merge now? @parkera

@compnerd compnerd merged commit 5c1d6f6 into swiftlang:main Mar 21, 2023
@AZero13 AZero13 deleted the CFStringCreateWithCString branch March 21, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants