mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08: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.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 |