prometheus/model
Bryan Boreham ee1157c14a labels: shrink stack arrays in Builder.Range
Go spends some time initializing all the elements of these arrays to
zero, so reduce the size from 1024 to 128. This is still much bigger
than we ever expect for a set of labels.

(If someone does have more than 128 labels it will still work, but via
heap allocation.)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-03-22 17:14:43 +00:00
..
exemplar
histogram Change nested ifs to a switch 2023-03-14 14:22:20 -06:00
labels labels: shrink stack arrays in Builder.Range 2023-03-22 17:14:43 +00:00
metadata
relabel
rulefmt
textparse
timestamp
value