mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
5571c7dc98
Up to 32-byte values this saves garbage, runs faster. For prefixes, only `toLower` the part we need for the map lookup. Split toNormalisedLower into fast and slow paths, to avoid a penalty for the `copy` call in the case where no allocations are done. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
labels_common.go | ||
labels_dedupelabels_test.go | ||
labels_dedupelabels.go | ||
labels_stringlabels.go | ||
labels_test.go | ||
labels.go | ||
matcher_test.go | ||
matcher.go | ||
regexp_test.go | ||
regexp.go | ||
sharding_dedupelabels.go | ||
sharding_stringlabels.go | ||
sharding_test.go | ||
sharding.go | ||
test_utils.go |