Skip to content

Fix a bunch of performance issues in Function Signature Optimizations #17234

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

Conversation

gottesmm
Copy link
Contributor

Found a bunch of pretty bad performance problems in Function Signature Optimizations. Not going to say how they got here... but I am going to fix them real quick.

Specifically we were copying around ADTs just to read them. There is no excuse for that.

rdar://41146023

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@gottesmm gottesmm requested a review from shajrawi June 15, 2018 01:06
gottesmm added 2 commits June 16, 2018 23:18
…an ArrayRef instead.

I don't think I need to say more here.

rdar://41146023
…alue.

This is particularly egrigious since we are only /reading/ from the DenseSet. So
we are basically mallocing/copying a DenseSet just to read from it... I don't
think I need to say more.

rdar://41146023
@gottesmm gottesmm force-pushed the pr-0e0ac4897be5b6059f2959956c708dea2e027b88 branch from aa9c531 to 369b1f4 Compare June 17, 2018 06:19
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

3 similar comments
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit bd36ce1 into swiftlang:master Jun 17, 2018
@gottesmm gottesmm deleted the pr-0e0ac4897be5b6059f2959956c708dea2e027b88 branch June 17, 2018 07:22
Copy link

@shajrawi shajrawi left a comment

Choose a reason for hiding this comment

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

LGTM!

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