Skip to content

Revise the "too complex" heuristic. #17667

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
Jul 2, 2018
Merged

Revise the "too complex" heuristic. #17667

merged 1 commit into from
Jul 2, 2018

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Jul 2, 2018

Revise the heuristic so that it does not differ between Swift
versions, and so that it is always based on the number of scopes we've
opened.

The memory threshold and (very long) timer are also still in place as
well.

Revise the heuristic so that it does not differ between Swift
versions, and so that it is always based on the number of scopes we've
opened.

The memory threshold and (very long) timer are also still in place as
well.
@rudkx
Copy link
Contributor Author

rudkx commented Jul 2, 2018

@swift-ci Please smoke test

@rudkx
Copy link
Contributor Author

rudkx commented Jul 2, 2018

@swift-ci Please test source compatibility

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! And it doesn't seem to cause any perf regressions in our suite either.

@davidungar
Copy link
Contributor

Nice simplification!

@rudkx rudkx merged commit c7e7a04 into swiftlang:master Jul 2, 2018
@rudkx rudkx deleted the revise-too-complex branch July 2, 2018 18:38
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