Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ fetch_fp32
Method
fetch_fp32
nodedb-vector/src/vamana/node_fetcher.rs:89–91 ·
view source on GitHub ↗
(&mut self, idx: u32)
Source
from the content-addressed store, hash-verified
87
fn prefetch_batch(&mut self, _indices: &[u32]) {}
88
89
fn fetch_fp32(&mut self, idx: u32) -> Option<Vec<f32>> {
90
self.vectors.get(idx as usize).cloned()
91
}
92
}
93
94
#[cfg(test)]
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected