mirror of https://github.com/prometheus/prometheus
4d654ee22b
While implementing a different feature, I found that Labels.Get() was performing a linear search. I wondered whether it would perform any better with a binary search approach, and wrote a benchmark: the answer is that it's probably doesn't worth it, so I just decided to leave the benchmark and the results for the next reader. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
labels.go | ||
labels_test.go | ||
matcher.go | ||
matcher_test.go | ||
regexp.go | ||
regexp_test.go | ||
test_utils.go |