Y
Hacker News
new
|
ask
|
show
|
jobs
by
innagadadavida
2374 days ago
Protobufs have a pretty nice variable encoding integer wire format. This gives you the flexibility of saving space without doing compression.
While zero copy is nice, you cannot make it work when using compression.
1 comments
rapsey
2374 days ago
That variable integer encoding is however slow for encoding/decoding. The space savings are of questionable worth.
link
seriesf
2374 days ago
They are the same size as UTF-8 numbers but much slower to decode. I think the more-bit format is the only glaring mistake in proto that can never be fixed.
link