-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[5.0 backport] conform Unsafe(Mutable)RawBufferPointer conform to _HasContiguousBytes #21632
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
[5.0 backport] conform Unsafe(Mutable)RawBufferPointer conform to _HasContiguousBytes #21632
Conversation
(cherry picked from commit f87ffd2)
@swift-ci please 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.
LGTM
@milseman thanks! @airspeedswift / @milseman there's special authorisation required to merge to the 5.0 branch, should I ping anyone or can either of you do that? |
I can approve it. However, should we have added benchmarks showing the perf improvement? |
Also tests of this new path, probably. |
@swift-ci Please benchmark |
Build comment file:Performance: -O
Performance: -Osize
Performance: -Onone
How 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
|
@airspeedswift does #21706 look good for the benchmarks? One you're happy with this and it's merged to |
@airspeedswift I assume you're happy with tests instead of benchmarks too (#21743)? |
@weissi yep |
(cherry picked from commit f87ffd2)
backport of #21611 to
swift-5.0-branch