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

remove explicit uses of lazy_static #22015

Merged
merged 2 commits into from
Feb 26, 2025
Merged

remove explicit uses of lazy_static #22015

merged 2 commits into from
Feb 26, 2025

Conversation

tgolsson
Copy link
Contributor

Saw #22011, but I figured we might as well remove the dependency from our code since it's equivalent to LazyLock now.

There's two minor "extra" changes: char hashsets with a handful of entries, and an actual constant. Both are just simplification and it should have no effect on performance.

@tgolsson tgolsson added the release-notes:not-required PR doesn't require mention in release notes label Feb 26, 2025
@tgolsson tgolsson force-pushed the ts/remove-lazy-static branch from 5044dd5 to 8063bbf Compare February 26, 2025 20:03
@tgolsson tgolsson marked this pull request as ready for review February 26, 2025 20:06
@tgolsson tgolsson merged commit 54f5409 into main Feb 26, 2025
24 checks passed
@tgolsson tgolsson deleted the ts/remove-lazy-static branch February 26, 2025 21:35
@sureshjoshi
Copy link
Member

Good timing :) I flagged lazy_static (due to the same Dependabot) in #22012
🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:not-required PR doesn't require mention in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants