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

Precompile a regex in hot code #1508

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

retronym
Copy link
Member

@retronym retronym commented Dec 3, 2024

No description provided.

@retronym retronym requested review from Friendseeker and eed3si9n and removed request for Friendseeker December 3, 2024 13:44
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@Friendseeker Friendseeker left a comment

Choose a reason for hiding this comment

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

Thanks!

I was thinking about the cost of regex overhead in #1324 (comment), but this particular optimization slipped my mind...

@eed3si9n eed3si9n merged commit 3e60b78 into sbt:1.10.x Dec 3, 2024
9 checks passed
@som-snytt
Copy link
Contributor

github is telling me 500 to view the diff, but from the title I'll say 🎉 retronym. I'm so glad retronym is on our side, as they say in the superhero universe.

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.

4 participants