global: compressed vecs work again

This commit is contained in:
nym21
2025-08-05 23:38:43 +02:00
parent e28a0cde55
commit 4740610923
45 changed files with 310 additions and 385 deletions

View File

@@ -11,7 +11,7 @@ use brk_structs::{
};
use brk_vecs::{
AnyCollectableVec, AnyStoredVec, AnyVec, CollectableVec, Computation, EagerVec, Exit, File,
Format, GenericStoredVec, RawVec, Reader, Stamp, StoredIndex, VecIterator,
Format, GenericStoredVec, PAGE_SIZE, RawVec, Reader, Stamp, StoredIndex, VecIterator,
};
use log::info;
use rayon::prelude::*;
@@ -94,6 +94,8 @@ impl Vecs {
states_path: &Path,
) -> Result<Self> {
let file = Arc::new(File::open(&parent.join("stateful"))?);
file.set_min_len(PAGE_SIZE * 20_000_000)?;
file.set_min_regions(50_000)?;
let compute_dollars = price.is_some();