Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_len
Function · 0.45
cast_from_f32
Function · 0.45
is_full
Method · 0.45
fresh_len
Method · 0.45
search
Method · 0.45
patch
Method · 0.45
patch_empty_delta_is_noop
Function · 0.45
merge_results
Function · 0.45
local_selectivity_at
Function · 0.45
navix_search
Function · 0.45
brute_force_on_allowed
Function · 0.45
unfiltered_search_layer
Function · 0.45
Calls
no outgoing calls
Tested by
1
patch_empty_delta_is_noop
Function · 0.36