-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Removes redundant buffer zeroing in CGColorSpace.swift by using `init(unsafeUninitializedCapacity:initializingWith:) #30134
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
Removes redundant buffer zeroing in CGColorSpace.swift by using `init(unsafeUninitializedCapacity:initializingWith:) #30134
Conversation
Hi @valeriyvan Do you mind updating the title of this PR and the other PRs you’ve recently created? It might be a little confusing for reviewers to keep track of what each PR does if they are all titled the same. It would be great if you can update the description too. Thank you! |
@theblixguy, is it now better? |
Done |
@lorentey this is a change against the CoreGraphics overlay. What is the best way to review and incorporate these kinds of changes? |
ping |
@lorentey any news here? |
@swift-ci test |
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.
Thanks! This looks good to me.
Build failed |
Build failed |
Linux failure looks unrelated, but the macOS build has the same issue as #30133. @valeriyvan |
ping |
@swift-ci test |
In
colorTable
getter removes redundant buffer zeroing by usinginit(unsafeUninitializedCapacity:initializingWith:)
instead ofinit(repeating:count:)