MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / len

Method len

nodedb-vector/src/vamana/graph.rs:52–54  ·  view source on GitHub ↗

Number of nodes in the graph.

(&self)

Source from the content-addressed store, hash-verified

50
51 /// Number of nodes in the graph.
52 pub fn len(&self) -> usize {
53 self.nodes.len()
54 }
55
56 /// Returns `true` if the graph has no nodes.
57 pub fn is_empty(&self) -> bool {

Callers 15

validate_byte_lenFunction · 0.45
cast_from_f32Function · 0.45
is_fullMethod · 0.45
fresh_lenMethod · 0.45
searchMethod · 0.45
patchMethod · 0.45
merge_resultsFunction · 0.45
local_selectivity_atFunction · 0.45
navix_searchFunction · 0.45
brute_force_on_allowedFunction · 0.45
unfiltered_search_layerFunction · 0.45

Calls

no outgoing calls

Tested by 1