We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We could encode field lengths at <1byte per field.
This could be enabled on a {message,version}-basis in the schema with e.g.
message Person v1 { wire format: v1 options { align: 4 # switches field lengths from varuint to exponential golomb coding field length encoding: exp-golomb } slots { ...
Elias δ-coding needs
math.floor(math.log(x, 2)) + 2 * math.floor(math.log(1 + math.floor(math.log(x, 2)), 2)) + 1
bits to encode x
The text was updated successfully, but these errors were encountered:
Exponential Golomb idea moved to an issue
e6a9332
It's just confusing here in the schema example. Created #3 instead.
Also https://github.com/jwilder/encoding/blob/master/simple8b/encoding.go
Sorry, something went wrong.
No branches or pull requests
We could encode field lengths at <1byte per field.
This could be enabled on a {message,version}-basis in the schema with e.g.
Resources
and https://en.wikipedia.org/wiki/Fibonacci_coding
self-delimiting number sequences
Elias δ-coding needs
bits to encode x
https://en.wikipedia.org/wiki/Golomb_coding
https://github.com/dave-andersen/deltagolomb
Results from my experiments so far
https://github.com/dave-andersen/deltagolomb
https://en.wikipedia.org/wiki/Exponential-Golomb_coding
The text was updated successfully, but these errors were encountered: