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

Create smaller protobuf encoding #7

Merged
merged 4 commits into from
Apr 16, 2019
Merged

Conversation

kesne
Copy link
Owner

@kesne kesne commented Apr 16, 2019

This tweaks the protobuf encoding implementation to couple everything into a single message type, which can encapsulate the request type, field ids (which removes the need for a map), and the selections. Because our field numbers are < 15, they use the same amount of space, so it's going to be more optimal to have these just share space.

@kesne kesne merged commit d455796 into master Apr 16, 2019
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