Skip to content

Revert "[stdlib] Add custom implementations of removeLast and remove(at:) to Array" #14231

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

Merged
merged 1 commit into from
Jan 29, 2018

Conversation

jrose-apple
Copy link
Contributor

This reverts #14212. It doesn't appear to be correct when the client is compiled with optimizations (as in, there's a failing bot).

…at:) to Array (swiftlang#14212)"

This reverts commit 5ed4afe. It
doesn't appear to be correct when the client is compiled with
optimizations (as in, there's a failing bot).
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit 993f623 into swiftlang:master Jan 29, 2018
@airspeedswift
Copy link
Member

Rats.

@jrose-apple jrose-apple deleted the revert-array-speedups branch January 29, 2018 16:50
@jrose-apple
Copy link
Contributor Author

It does look right, so it's also possible there's an optimizer bug somewhere…

@airspeedswift
Copy link
Member

I think so. The failure is only happening specifically on an optimize build with the debug std lib and I can't see how it can be an unsafe memory error since it's the count that must be wrong. But at least I can repro it locally now.

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.

3 participants