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

Method prefetch_batch

nodedb-vector/src/mmap_segment/reader.rs:428–432  ·  view source on GitHub ↗

Prefetch a batch of vector IDs.

(&self, ids: &[u32])

Source from the content-addressed store, hash-verified

426
427 /// Prefetch a batch of vector IDs.
428 pub fn prefetch_batch(&self, ids: &[u32]) {
429 for &id in ids {
430 self.prefetch(id);
431 }
432 }
433
434 pub fn dim(&self) -> usize {
435 self.dim

Callers 1

quantized_searchFunction · 0.45

Calls 1

prefetchMethod · 0.45

Tested by

no test coverage detected