computer: init lazy/eager

This commit is contained in:
nym21
2025-04-23 22:36:10 +02:00
parent 0a789fe551
commit 5ab6197356
22 changed files with 405 additions and 382 deletions

View File

@@ -24,7 +24,7 @@ fn main() -> color_eyre::Result<()> {
let outputs = Path::new("../../_outputs");
let mut indexer = Indexer::new(outputs.join("indexed").to_owned(), true, true)?;
let mut indexer = Indexer::new(outputs.join("indexed").to_owned(), false, false)?;
indexer.import_stores()?;
indexer.import_vecs()?;

View File

@@ -31,7 +31,7 @@ pub use stores::*;
pub use vecs::*;
const SNAPSHOT_BLOCK_RANGE: usize = 1000;
const COLLISIONS_CHECKED_UP_TO: u32 = 890_000;
const COLLISIONS_CHECKED_UP_TO: u32 = 893_000;
#[derive(Clone)]
pub struct Indexer {