Skip to content

Commit

Permalink
grpc: Reduce size of objects in memory (#368)
Browse files Browse the repository at this point in the history
Given that we're not using any of the XXX_ fields (for example to check
for unknown fields), and we don't need golang/protobuf compatibility as
we're using gogoproto everywhere, we can tune the code generator to not
output these `XXX_*` fields and save 28 bytes for each decoded object we
keep in memory.

Signed-off-by: Adrian Serrano <adrisr83@gmail.com>
  • Loading branch information
adriansr authored Nov 14, 2022
1 parent 6c78813 commit 5f26420
Show file tree
Hide file tree
Showing 2 changed files with 325 additions and 652 deletions.
Loading

0 comments on commit 5f26420

Please sign in to comment.