mirror of https://github.com/prometheus/prometheus
a9ed3b980d
strings.Compare isn't meant to be used, and this way we save one comparison which is thus very slightly cheaper. benchmark old ns/op new ns/op delta BenchmarkPostingsForMatchers/Head/n="1"-4 236305440 233515705 -1.18% Signed-off-by: Brian Brazil <brian.brazil@robustperception.io> |
||
---|---|---|
.. | ||
labels.go | ||
labels_test.go | ||
matcher.go | ||
matcher_test.go | ||
test_utils.go |