Skip to content

Split up a couple expressions to work around slow type checking. #1077

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 2 commits into from
Jul 14, 2017
Merged

Split up a couple expressions to work around slow type checking. #1077

merged 2 commits into from
Jul 14, 2017

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Jun 27, 2017

The type checker is particularly slow on these expressions. I've opened
https://bugs.swift.org/browse/SR-5322 to investigate the type checker
issue, but in the meantime it would be nice to speed up builds. This
cuts more than a minute from my unoptimized asserts-enabled build.

The type checker is particularly slow on these expressions. I've opened
https://bugs.swift.org/browse/SR-5322 to investigate the type checker
issue, but in the meantime it would be nice to speed up builds. This
cuts more than a minute from my unoptimized asserts-enabled build.
@rudkx
Copy link
Contributor Author

rudkx commented Jun 27, 2017

@swift-ci Please smoke test

@rudkx
Copy link
Contributor Author

rudkx commented Jun 30, 2017

@parkera Is this okay to merge?

@parkera
Copy link
Contributor

parkera commented Jul 10, 2017

Can we put a SR or radar number in the comment so we know when it's ok to remove this hack?

Add the SR number to the comment. I've also updated the SR to point back
to the PR for the work-around so that we know to revert the change when
the issue is resolved.
@rudkx
Copy link
Contributor Author

rudkx commented Jul 10, 2017

Sure - I've added a commit that mentions the SR number, and updated the SR to point back to this PR so that we know to revert it once the type checker performance issue is resolved.

@rudkx
Copy link
Contributor Author

rudkx commented Jul 10, 2017

@swift-ci Please smoke test

@phausler
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit ce1a76c into swiftlang:master Jul 14, 2017
@rudkx rudkx deleted the work-around-slow-type-checking branch June 24, 2018 22:25
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