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

Method prefetch_batch

nodedb-graph/src/csr/memory.rs:73–77  ·  view source on GitHub ↗

Prefetch a batch of nodes (called during BFS frontier expansion).

(&self, node_ids: &[u32])

Source from the content-addressed store, hash-verified

71
72 /// Prefetch a batch of nodes (called during BFS frontier expansion).
73 pub fn prefetch_batch(&self, node_ids: &[u32]) {
74 for &id in node_ids {
75 self.prefetch_node(id);
76 }
77 }
78
79 /// Evaluate graph memory pressure and return promotion/demotion hints.
80 ///

Callers

nothing calls this directly

Calls 1

prefetch_nodeMethod · 0.80

Tested by

no test coverage detected