MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CompilePCRE

Function CompilePCRE

extern/re2/re2/testing/regexp_benchmark.cc:724–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724void CompilePCRE(benchmark::State& state, const std::string& regexp) {
725 for (auto _ : state) {
726 PCRE re(regexp, PCRE::UTF8);
727 CHECK_EQ(re.error(), "");
728 }
729}
730
731void CompileRE2(benchmark::State& state, const std::string& regexp) {
732 for (auto _ : state) {

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected