Skip to content

Add PROTOBUF_ASSUME annotations to specify that size() is non-negative.#26989

Draft
copybara-service[bot] wants to merge 1 commit intomainfrom
test_902708802
Draft

Add PROTOBUF_ASSUME annotations to specify that size() is non-negative.#26989
copybara-service[bot] wants to merge 1 commit intomainfrom
test_902708802

Conversation

@copybara-service
Copy link
Copy Markdown

Add PROTOBUF_ASSUME annotations to specify that size() is non-negative.

This allows the compiler to optimize bound checking code.

This allows the compiler to optimize bound checking code.

PiperOrigin-RevId: 902708802
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