Skip to content
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

dotnet-format batch replace EndOfLine instead of one by one #43399

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

sgkoishi
Copy link
Contributor

The original implementation takes quadratic time when the file is filled with different EOLs. For a large file (90k lines) it takes more than five minutes to just replace those EOLs.

@sgkoishi sgkoishi requested a review from a team as a code owner September 13, 2024 02:02
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Sep 13, 2024
Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

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

Thanks @sgkoishi!

@sgkoishi
Copy link
Contributor Author

Do I need to do something - e.g. to trigger the CI again?

@JoeRobich JoeRobich merged commit 602f479 into dotnet:main Sep 19, 2024
37 checks passed
@JoeRobich
Copy link
Member

Thanks @sgkoishi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants