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

[pull] main from swiftlang:main #212

Merged
merged 2 commits into from
Jan 10, 2025
Merged

[pull] main from swiftlang:main #212

merged 2 commits into from
Jan 10, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 10, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

bnbarham and others added 2 commits January 10, 2025 09:41
swift-format#883 fixed outputting incorrect line numbers, but introduced
a performance regression. swift-format#901 improved this back to around
the original, but had to be reverted as it introduced a an issue due to
counting codepoints rather than characters.

Introduce a similar optimization again, but only for the first portion
of the string (prior to the last newline).

Fixes swift-format#894 again.
Optimize pretty printing performance
@pull pull bot added the ⤵️ pull label Jan 10, 2025
@pull pull bot assigned kkebo Jan 10, 2025
@pull pull bot requested a review from kkebo January 10, 2025 23:10
@pull pull bot merged commit 6e64b26 into kkebo:main Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants