prometheus/model/histogram
György Krajcsovits 6c646657d5
perf(chunkenc): intern the custom values for native histograms
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>
2025-05-07 14:40:45 +02:00
..
float_histogram.go perf(chunkenc): intern the custom values for native histograms 2025-05-07 14:40:45 +02:00
float_histogram_test.go Corrects the behaviour of binary opperators between histogram and float (#14726) 2024-10-15 14:44:36 +02:00
generic.go Merge branch 'main' into nhcb 2024-06-07 19:17:14 +08:00
generic_test.go Merge branch 'main' into nhcb 2024-03-22 14:51:48 +01:00
histogram.go perf(chunkenc): intern the custom values for native histograms 2025-05-07 14:40:45 +02:00
histogram_test.go Fix lint error 2024-06-24 09:33:03 +02:00
test_utils.go fix TestCuttingNewHeadChunks/really_large_histograms on 32-bit 2024-12-16 10:45:01 -05:00