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

Change FieldDescriptor::type() to not have the call_once behavior. #16527

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Change FieldDescriptor::type() to not have the call_once behavior.
This behavior is for lazily build descriptors, and those are for generated code
which always have this field set.
The type() function is called extensively in reflection based code and
removing the call_once has significant performance impact.

This behavior is for lazily build descriptors, and those are for generated code
which always have this field set.
The `type()` function is called extensively in reflection based code and
removing the call_once has significant performance impact.

PiperOrigin-RevId: 625328922
Copy link

Auto-closing Copybara pull request

@github-actions github-actions bot closed this Apr 25, 2024
@github-actions github-actions bot deleted the test_625328922 branch April 25, 2024 10:01
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.

1 participant