mirror of https://github.com/prometheus/prometheus
d84282b105
Since `seps` is a variable, `seps[0]` has to be bounds-checked every time. Replacing with a constant everywhere it is used skips this overhead. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
labels.go | ||
labels_common.go | ||
labels_dedupelabels.go | ||
labels_dedupelabels_test.go | ||
labels_stringlabels.go | ||
labels_test.go | ||
matcher.go | ||
matcher_test.go | ||
regexp.go | ||
regexp_test.go | ||
sharding.go | ||
sharding_dedupelabels.go | ||
sharding_stringlabels.go | ||
sharding_test.go | ||
test_utils.go |