prometheus/model/labels
Marco Pracucci c77900d58e
Optimized FastRegexMatcher when the regex contains a case insensitive alternation made with concats too (#430)
* Optimized FastRegexMatcher when the regex contains a case insensitive alternation made with concats too

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

* Do not use a pointer to hold whether the matches are case sensitive

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

* Improved unit tests based on review feedback

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

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
2023-03-01 10:49:25 +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 Optimized FastRegexMatcher when the regex contains a case insensitive alternation made with concats too (#430) 2023-03-01 10:49:25 +01:00
regexp_test.go Optimized FastRegexMatcher when the regex contains a case insensitive alternation made with concats too (#430) 2023-03-01 10:49:25 +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