prometheus/model/labels
Marco Pracucci 242e82b8e6
Optimize regex star operation (#448)
* Optimize .* regex matcher

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Consistent benchmark runs for BenchmarkFastRegexMatcher

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fixed TestParseExpressions

Signed-off-by: Marco Pracucci <marco@pracucci.com>

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
2023-03-09 09:38:41 +01:00
..
labels.go Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00
labels_test.go Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00
matcher.go Expose Matcher.Prefix() 2023-01-19 17:21:28 +01:00
matcher_test.go Expose Matcher.Prefix() 2023-01-19 17:21:28 +01:00
regexp.go Optimize regex star operation (#448) 2023-03-09 09:38:41 +01:00
regexp_test.go Optimize regex star operation (#448) 2023-03-09 09:38:41 +01:00
sharding.go Hardcode the labels stable hash function instead of taking it as an option 2023-01-30 14:21:18 +01:00
test_utils.go labels: use ScratchBuilder in ReadLabels 2022-12-19 15:22:09 +00:00