computer: lazy part 3

This commit is contained in:
nym21
2025-05-03 11:44:33 +02:00
parent ae0e092935
commit efa7294f59
79 changed files with 707 additions and 311 deletions

View File

@@ -1,6 +1,6 @@
use std::path::Path;
use brk_computer::Computer;
use brk_computer::{Computation, Computer};
use brk_indexer::Indexer;
use brk_query::{Index, Query};
@@ -15,7 +15,7 @@ pub fn main() -> color_eyre::Result<()> {
indexer.import_vecs()?;
let mut computer = Computer::new(outputs_dir, None, compressed);
computer.import_vecs(&indexer)?;
computer.import_vecs(&indexer, Computation::Lazy)?;
let query = Query::build(&indexer, &computer);