prometheus/model/labels
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
..
labels.go labels: shrink stack arrays in Builder.Range 2023-03-22 17:14:43 +00:00
labels_string.go labels: shrink stack arrays in Builder.Range 2023-03-22 17:14:43 +00:00
labels_test.go labels: add test for Builder.Range 2023-03-16 13:25:55 +00:00
matcher.go
matcher_test.go
regexp.go
regexp_test.go
test_utils.go labels: use ScratchBuilder in ReadLabels 2022-12-19 15:22:09 +00:00