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

protoc-gen-go: elide sizeCache for small messages #857

Open
dsnet opened this issue May 23, 2019 · 0 comments
Open

protoc-gen-go: elide sizeCache for small messages #857

dsnet opened this issue May 23, 2019 · 0 comments

Comments

@dsnet
Copy link
Member

dsnet commented May 23, 2019

(Background: #856)

For small messages, it may not be worth adding the XXX_sizecache and to instead to just re-compute the size from the small number of fields present.

@dsnet dsnet changed the title cmd/protoc-gen-go: elide XXX_sizecache for small messages protoc-gen-go: elide sizeCache for small messages Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant