-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Implement SE-147: Move initialize(from:) from Pointer to BufferPointer #6601
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
Conversation
…th checks for overrun.
…an inferred iterator types
@swift-ci Please test |
@swift-ci Please benchmark |
Build failed |
Build failed |
@swift-ci Please test OS X platform |
Uh-oh. Looks like Data in swift-corelibs-foundation is using _copyContents. https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/Data.swift#L1439 |
Build comment file:Optimized (O) Regression (4)
Improvement (6)
No Changes (145)
Regression (5)
Improvement (10)
No Changes (140)
|
Build failed |
@swift-ci Please clean test macOS |
Please test with following pull request: @swift-ci Please test Linux platform |
Build failed |
Please test with following pull request: @swift-ci Please test Linux platform |
Please test with following pull request: @swift-ci Please test Linux platform |
Build failed |
@swift-ci Please test macOS platform |
Build failed |
👍 |
This PR implements SE-147
Specifically it:
initialize(from:)
inUnsafeMutable{Raw}BufferPointer
UnsafeMutable{Raw}BufferPointer
Array.append
that takes a collection as no-longer necessaryArray
's+=
operator up toRangeReplaceableCollection