MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / insertNodeID

Method insertNodeID

src/Dictionaries/RegExpTreeDictionary.cpp:664–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662 }
663
664 [[maybe_unused]]
665 void insertNodeID(UInt64 id)
666 {
667 matched_idx_set.emplace(id);
668
669 UInt64 topological_order = topology_order.at(id);
670 matched_idx_sorted_list.push_back(std::make_pair(topological_order, id));
671 }
672
673 /// Sort by topological order, which indicates the matching priorities.
674 void sort()

Callers 1

matchMethod · 0.80

Calls 3

emplaceMethod · 0.45
atMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected