Skip to content

[Perf] Drop Some Places We Re-Materialize Input Files #554

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
Mar 19, 2021

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Mar 19, 2021

Creating in-memory collections that are derived from the set of input files is potentially expensive for large compilations.

CodaFi added 2 commits March 18, 2021 20:16
When the set of input files is large, materializing this collection can be expensive. Just use a loop condition.
The set of swift files here is only needed to compute the disappeared set. We don't need to keep it around.
@CodaFi
Copy link
Contributor Author

CodaFi commented Mar 19, 2021

@swift-ci test

@CodaFi CodaFi merged commit 62f5a47 into swiftlang:main Mar 19, 2021
@CodaFi CodaFi deleted the remember-me branch March 19, 2021 19:42
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.

2 participants