Skip to content

Swift: Fix RemoteFlowSource performance issue. #11708

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
Dec 15, 2022
Merged

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Dec 15, 2022

Fix a RemoteFlowSource performance issue. This was particularly visible on freeotp-ios, where evaluating RemoteFlowSource was taking twice as long due to this part blowing up.

Note that the case immediately above already has pragmas like the ones I introduce.

We should check DCA results before merging.

@geoffw0 geoffw0 added no-change-note-required This PR does not need a change note Swift labels Dec 15, 2022
@geoffw0 geoffw0 requested a review from a team as a code owner December 15, 2022 12:45
Copy link
Contributor

@atorralba atorralba left a comment

Choose a reason for hiding this comment

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

One PR I forgot to run DCA for, and... 😅

@geoffw0
Copy link
Contributor Author

geoffw0 commented Dec 15, 2022

Isn't that always the way.

@geoffw0
Copy link
Contributor Author

geoffw0 commented Dec 15, 2022

DCA LGTM (analysis and tuple sums improvements on multiple projects, though its difficult to tell how much of that is really attributable to this change and not just noise).

@MathiasVP
Copy link
Contributor

The tuple sums improvements are all very consistently great, though 😮 🎉

@MathiasVP MathiasVP merged commit 0f04e84 into github:main Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants