The custom values are the "le" bucket boundaries of native histograms with custom buckets. They are never modified. It is ok to not copy them when iterating a chunk, just reference them. If we will ever have a function that modifies the custom values, like 'trim' for example. That function will have to make a copy on write. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> |
||
|---|---|---|
| .. | ||
| bstream.go | ||
| bstream_test.go | ||
| chunk.go | ||
| chunk_test.go | ||
| float_histogram.go | ||
| float_histogram_test.go | ||
| histogram.go | ||
| histogram_meta.go | ||
| histogram_meta_test.go | ||
| histogram_test.go | ||
| varbit.go | ||
| varbit_test.go | ||
| xor.go | ||
| xor_test.go | ||