Skip to content

Commit d59ffaf

Browse files
authored
Remove annoying messages about page loads (#12)
1 parent 060f5a4 commit d59ffaf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/vectors.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,6 @@ impl VectorStore {
588588
}
589589

590590
pub fn get_vec(&self, domain: &Domain, index: usize) -> io::Result<Option<LoadedVec>> {
591-
eprintln!("get vec {index}");
592591
if domain.num_vecs() <= index {
593592
return Ok(None);
594593
}
@@ -600,10 +599,8 @@ impl VectorStore {
600599
index: page_index,
601600
};
602601
if let Some(page) = self.arena.page_from_any(page_spec) {
603-
eprintln!(" found page");
604602
Ok(Some(page.get_loaded_vec(index_in_page)))
605603
} else {
606-
eprintln!(" did not find page");
607604
// the page is on disk but not yet in memory. Let's load it.
608605
match self.arena.start_loading_or_wait(page_spec) {
609606
LoadState::Loading => {

0 commit comments

Comments
 (0)