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

Simplify the ProvisionCallback API. #1859

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

copybara-service[bot]
Copy link

Simplify the ProvisionCallback API.

Every implementation needs access to the current InternalContext so we can save a bit of memory by just passing it.

This is pretty minor since ProvisionListeners are rare, but it satisfies a long running TODO and allows us to eliminate some allocations from the normal provisioning path.

Every implementation needs access to the current `InternalContext` so we can save a bit of memory by just passing it.

This is pretty minor since `ProvisionListeners` are rare, but it satisfies a long running TODO and allows us to eliminate some allocations from the normal provisioning path.

PiperOrigin-RevId: 715467849
@copybara-service copybara-service bot merged commit 325ac9c into master Jan 14, 2025
@copybara-service copybara-service bot deleted the test_712269258 branch January 14, 2025 19:52
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