Skip to content

perf: Avoid recompiling regexes#1293

Merged
vladmos merged 2 commits intobazelbuild:mainfrom
dzbarsky:main
May 27, 2025
Merged

perf: Avoid recompiling regexes#1293
vladmos merged 2 commits intobazelbuild:mainfrom
dzbarsky:main

Conversation

@dzbarsky
Copy link
Contributor

@dzbarsky dzbarsky commented Sep 12, 2024

We can compile these once at package scope instead. This is a slight perf improvement on a medium repo.

I removed some unused code while I was here.

@DavidZbarsky-at
Copy link

Example:
image

@dzbarsky
Copy link
Contributor Author

dzbarsky commented Dec 9, 2024

@vladmos can you please take a look at this one?

@zbarsky-openai
Copy link

@vladmos gentle ping on this one :)

@vladmos vladmos requested a review from oreflow as a code owner May 27, 2025 09:32
Copy link
Member

@vladmos vladmos left a comment

Choose a reason for hiding this comment

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

Thanks!

@vladmos vladmos merged commit 9029539 into bazelbuild:main May 27, 2025
2 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.

4 participants