computer: snapshot

This commit is contained in:
nym21
2025-12-28 03:19:34 +01:00
parent 9ba77dac0f
commit 5d6325ae30
43 changed files with 1948 additions and 695 deletions

View File

@@ -5,7 +5,7 @@ use brk_error::Result;
use brk_fetcher::Fetcher;
use brk_indexer::Indexer;
use mimalloc::MiMalloc;
use vecdb::Exit;
use vecdb::{AnyStoredVec, Exit};
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;
@@ -34,8 +34,7 @@ fn run() -> Result<()> {
let computer = Computer::forced_import(&outputs_dir, &indexer, Some(fetcher))?;
// let _a = dbg!(computer.chain.txinindex_to_value.region().meta());
// let _b = dbg!(indexer.vecs.txout.txoutindex_to_txoutdata.region().meta());
let _a = dbg!(computer.chain.txindex_to_fee.region().meta());
Ok(())
}