These are chat archives for HdrHistogram/HdrHistogram
@giltene that rule of the 9th byte is always "full" is it standard LEB128 or a "special" HdrHistogram variant?
The GPB python code looks pretty clear on this. Examples:
"""Compute the size of a varint value."""
if value <= 0x7f: return 1
if value <= 0x3fff: return 2
if value <= 0x1fffff: return 3
if value <= 0xfffffff: return 4
if value <= 0x7ffffffff: return 5
if value <= 0x3ffffffffff: return 6
if value <= 0x1ffffffffffff: return 7
if value <= 0xffffffffffffff: return 8
if value <= 0x7fffffffffffffff: return 9
As you can see the size for a full 64-bit value is 10 not 9 and the encode/decode loops do not make a special case of the 9th byte.