82a8c6abe2
For example `foo.*|bar.*|baz.*`. Instead of checking each one in turn, we build a map of prefixes, then check the smaller set that could match the string supplied. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> * Improve testing and readability Address review comments on #13843 Signed-off-by: Marco Pracucci <marco@pracucci.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 |