Björn Rabenstein 503ffba49a
chunkenc: Slightly optimize xorWrite/xoRead (#11476)
With these changes, the "happy path" when the leading and trailing
number of bits don't need an update, fewer operations are needed.

The change is probably very marginal (no change in the benchmark added
here, but the benchmark also doesn't cover non-changing values), and
an argument could me made that avoiding pointers also has its
benefits.

However, I think that reducing the number of return values improves
readability. Which convinced me that I should at least propose this.

Signed-off-by: beorn7 <beorn@grafana.com>
2022-10-20 15:08:01 +05:30
..
2021-08-27 10:24:14 +02:00
2022-10-05 22:14:49 +02:00
2022-10-11 22:53:37 +05:30
2021-02-22 20:28:02 +01:00
2022-10-11 22:53:37 +05:30
2022-10-11 22:53:37 +05:30
2022-10-11 22:53:37 +05:30
2022-10-11 22:53:37 +05:30
2022-10-11 22:53:37 +05:30
2022-10-11 22:53:37 +05:30
2022-10-11 22:53:37 +05:30
2022-10-05 22:14:49 +02:00
2022-10-07 16:20:20 +00:00

TSDB

GoPkg

This directory contains the Prometheus TSDB (Time Series DataBase) library, which handles storage and querying of all Prometheus v2 data.

Documentation

External resources

A series of blog posts explaining different components of TSDB: