MCPcopy Create free account
hub / github.com/apache/arrow / MatchLikeSubstring

Function MatchLikeSubstring

cpp/src/arrow/compute/kernels/scalar_string_benchmark.cc:103–106  ·  view source on GitHub ↗

MatchLike optimizes the following three into a substring/prefix/suffix search instead of using RE2

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

UnaryStringBenchmarkFunction · 0.85

Tested by

no test coverage detected