mirror of https://github.com/prometheus/prometheus
ae286385fd
Sadly, we have a number of places where we use varint encoding for numbers that cannot be negative. We could have saved a bit by using uvarint encoding. On the bright side, we now have a 50% chance to detect data corruption. :-/ Fixes #1800 and #2492. |
||
---|---|---|
.. | ||
codable.go | ||
codable_test.go |