-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add an overload of append(contentsOf:) on Array that takes a Collection instead of a Sequence, and try using it to accelerate wCSIA-compatible Sequences #77487
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
@swift-ci test |
@swift-ci Apple Silicon benchmark |
@swift-ci Apple Silicon benchmark |
@swift-ci Apple Silicon benchmark |
@swift-ci please benchmark |
|
@swift-ci test |
1 similar comment
@swift-ci test |
Asked Erik to take a look at the test failure, since it's about the _effects thing we discussed |
Not clear to me why pushing that auto-requested review from Erik… |
@swift-ci test |
1 similar comment
@swift-ci test |
@swift-ci Apple Silicon benchmark |
@swift-ci test |
@swift-ci Apple Silicon benchmark |
The issue I noted was addressed, but there are parts I still don't understand.
@swift-ci please Apple Silicon benchmark |
@@ -1063,6 +1063,12 @@ extension Sequence { | |||
internal func _copySequenceToContiguousArray< | |||
S: Sequence | |||
>(_ source: S) -> ContiguousArray<S.Element> { | |||
let contigArray = source.withContiguousStorageIfAvailable { |
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.
This part is new btw
Well that was completely ridiculous. Wasted several hours because build-script stopped rebuilding the tests, so I kept getting failures from the old code rather than my fix. |
@swift-ci please test |
@swift-ci Apple Silicon benchmark |
@swift-ci please test |
…on instead of a Sequence, and try using it to accelerate wCSIA-compatible Sequences
…lection instead of a Sequence, and try using it to accelerate wCSIA-compatible Sequences
…a Collection instead of a Sequence, and try using it to accelerate wCSIA-compatible Sequences
Co-authored-by: Karoy Lorentey <[email protected]>
0dede68
to
da87c55
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please test |
@swift-ci Apple Silicon benchmark |
Fixes rdar://139455035