MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / set

Method set

include/rabitqlib/utils/hashset.hpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void set(PID data_id) {
90 PID& val = table_[hash1(data_id)];
91 if (val == data_id) {
92 return;
93 }
94 if (val == kPidMax) {
95 val = data_id;
96 } else {
97 stl_hash_.emplace(data_id);
98 }
99 }
100};
101} // namespace rabitqlib

Callers 5

searchMethod · 0.80
update_resultsMethod · 0.80
find_candidatesMethod · 0.80
search_base_layerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected