Skip to content

[stdlib] Move DoubleWidth to test/Prototypes #15470

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 4 commits into from
Mar 26, 2018
Merged

Conversation

moiseev
Copy link
Contributor

@moiseev moiseev commented Mar 24, 2018

It is with deep regret and profound sadness that I have to do this. Our beloved type DoubleWIdth that served as a witness of usefulness of the new integer protocols has to move from being a part of the standard library to a mere prototype.

Max Moiseev added 3 commits March 23, 2018 15:42
The implementation uses DoubleWidth<T> that needs to be removed due to
library binary size issues. Even extracting the single DoubleWidth
method that's used in it would likely result in having to copy a
large portion of the rest of DoubleWidth implementation along with it,
this defeating the purpose.

This change restores the behavior of dividingFullWidth as it was shipped
with Swift 4.1, therefore it's not a breaking change.
@moiseev
Copy link
Contributor Author

moiseev commented Mar 24, 2018

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor

Why is that?

@airspeedswift
Copy link
Member

cos it generates binaries the size of a humpback whale...

@airspeedswift
Copy link
Member

We need to set aside time to figure out why and fix that underlying problem. Meanwhile it can stay testing in Prototypes ready to move back once we do.

@airspeedswift
Copy link
Member

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 141fefc

@moiseev
Copy link
Contributor Author

moiseev commented Mar 26, 2018

@swift-ci please test

@swiftlang swiftlang deleted a comment from swift-ci Mar 26, 2018
@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 141fefc

@moiseev moiseev merged commit 6c5d2e9 into swiftlang:master Mar 26, 2018
@moiseev moiseev deleted the proto-dw branch March 26, 2018 14:39
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.

4 participants