computer: stateful snapshot

This commit is contained in:
nym21
2025-12-17 17:08:54 +01:00
parent f9fad2d775
commit df09b3aa28
20 changed files with 656 additions and 151 deletions

View File

@@ -5,8 +5,12 @@ use brk_error::Result;
use brk_fetcher::Fetcher;
use brk_indexer::Indexer;
use brk_types::TxIndex;
use mimalloc::MiMalloc;
use vecdb::{Exit, GenericStoredVec};
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;
pub fn main() -> Result<()> {
// Can't increase main thread's stack size, thus we need to use another thread
thread::Builder::new()