VictoriaMetrics/lib/regexutil
Aliaksandr Valialkin a2cd79576f
lib/promrelabel: call PromRegex.MatchString() on a slow path only if it contains non-empty literal prefix
This should improve slow path speed for regexps without literal prefixes
2022-08-26 21:48:30 +03:00
..
promregex.go lib/promrelabel: call PromRegex.MatchString() on a slow path only if it contains non-empty literal prefix 2022-08-26 21:48:30 +03:00
promregex_test.go lib/promrelabel: optimize common regex mismatch cases for action: replace and action: labelmap 2022-08-26 15:45:31 +03:00
promregex_timing_test.go lib/promrelabel: use regexutil.PromRegex for regex matching in actions labeldrop,labelkeep,drop and keep 2022-08-26 15:23:45 +03:00
regexutil.go lib/regexutil: add Simplify() function for simplifying the regular expression 2022-08-26 11:57:12 +03:00
regexutil_test.go lib/regexutil: add Simplify() function for simplifying the regular expression 2022-08-26 11:57:12 +03:00