Skip to content

Batch updates to the syntactic test index on fileDidChange events #1869

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 6, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Dec 6, 2024

This is more performant. In particular adding a new task to indexingQueue for each file to rescan can hit the quadratic issue in AsyncQueue if many files were changed.

This is more performant. In particular adding a new task to `indexingQueue` for each file to rescan can hit the quadratic issue in `AsyncQueue` if many files were changed.
@ahoppen
Copy link
Member Author

ahoppen commented Dec 6, 2024

@swift-ci Please test

@ahoppen ahoppen enabled auto-merge December 6, 2024 17:03
@ahoppen ahoppen merged commit f376e66 into swiftlang:main Dec 6, 2024
3 checks passed
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