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

Lazily-initialize RegexCompiler's cached reflection members #109283

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

stephentoub
Copy link
Member

There are currently ~70 members that we populate to cache for later use. We rarely need all of them. This uses field to make them lazily initialized.

There are currently ~70 members that we populate to cache for later use. We rarely need all of them. This uses `field` to make them lazily initialized.
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

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.

5 participants