MatchLike optimizes the following three into a substring/prefix/suffix search instead of using RE2
| 101 | // MatchLike optimizes the following three into a substring/prefix/suffix search instead |
| 102 | // of using RE2 |
| 103 | static void MatchLikeSubstring(benchmark::State& state) { |
| 104 | MatchSubstringOptions options("%abac%"); |
| 105 | UnaryStringBenchmark(state, "match_like", &options); |
| 106 | } |
| 107 | |
| 108 | static void MatchLikePrefix(benchmark::State& state) { |
| 109 | MatchSubstringOptions options("%abac"); |
nothing calls this directly
no test coverage detected