storable_vec: add modes

This commit is contained in:
nym21
2025-02-04 20:56:48 +01:00
parent 42c996e16e
commit d11a1622f8
16 changed files with 696 additions and 495 deletions

View File

@@ -3,6 +3,7 @@ use std::path::Path;
use biter::rpc;
use bomputer::Computer;
use exit::Exit;
use storable_vec::SINGLE_THREAD;
mod structs;
@@ -18,7 +19,7 @@ pub fn main() -> color_eyre::Result<()> {
let i = std::time::Instant::now();
let mut computer = Computer::import(Path::new("../_outputs"))?;
let mut computer: Computer<SINGLE_THREAD> = Computer::import(Path::new("../_outputs"))?;
computer.compute(data_dir, rpc, &exit)?;