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

Function MakeNullsTrie

cpp/src/arrow/util/trie_benchmark.cc:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36Trie MakeNullsTrie() {
37 auto nulls = AllNulls();
38
39 TrieBuilder builder;
40 for (const auto& str : AllNulls()) {
41 ABORT_NOT_OK(builder.Append(str));
42 }
43 return builder.Finish();
44}
45
46std::vector<std::string> Expand(const std::vector<std::string>& base, size_t n) {
47 std::vector<std::string> result;

Callers 1

BenchmarkTrieLookupsFunction · 0.85

Calls 3

AllNullsFunction · 0.70
AppendMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected