brk: first commit

This commit is contained in:
nym21
2025-02-23 01:25:15 +01:00
parent 8c3f519016
commit 19cf34f9d4
266 changed files with 225 additions and 1268 deletions

View File

@@ -0,0 +1,23 @@
use std::path::Path;
use brk_computer::Computer;
use brk_indexer::Indexer;
use hodor::Exit;
mod structs;
pub fn main() -> color_eyre::Result<()> {
color_eyre::install()?;
let exit = Exit::new();
let i = std::time::Instant::now();
let outputs_dir = Path::new("../_outputs");
Computer::import(&outputs_dir.join("computed"))?.compute(Indexer::import(&outputs_dir.join("indexes"))?, &exit)?;
dbg!(i.elapsed());
Ok(())
}