mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
4df814f509
We can instead write it as we go, and then go back and write in the length at the end. Also fix the compaction benchmark, which indicates no changes. For the benchmark, this brings maximum memory usage of the buffers from ~200kB down to 128B. Signed-off-by: Brian Brazil <brian.brazil@robustperception.io> |
||
---|---|---|
.. | ||
encoding.go |