Skip to content

UPSTREAM PR #27110: Make CodedOutputStream.computeLengthDelimitedFieldSize public#158

Open
loci-dev wants to merge 1 commit into
mainfrom
loci/pr-27110-feat-compute-length-delimited-field-size-public
Open

UPSTREAM PR #27110: Make CodedOutputStream.computeLengthDelimitedFieldSize public#158
loci-dev wants to merge 1 commit into
mainfrom
loci/pr-27110-feat-compute-length-delimited-field-size-public

Conversation

@loci-dev
Copy link
Copy Markdown

Note

Source pull request: protocolbuffers/protobuf#27110

This method was already used internally by all computeXxxSizeNoTag methods for length-delimited types. Exposing it lets callers who hand-construct length-delimited fields avoid repeating the computeUInt32SizeNoTag(len) + len pattern.

This method was already used internally by all computeXxxSizeNoTag
methods for length-delimited types. Exposing it lets callers who
hand-construct length-delimited fields avoid repeating the
computeUInt32SizeNoTag(len) + len pattern.
@loci-review
Copy link
Copy Markdown

loci-review Bot commented Apr 26, 2026

No meaningful performance changes were detected across 10164 analyzed functions in the following binaries: build.protoc-stable.

💬 Questions? Tag @loci-dev

@loci-dev loci-dev force-pushed the main branch 7 times, most recently from f292971 to 1fdfb93 Compare April 29, 2026 07:16
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.

2 participants