computer: indexes + rolling

This commit is contained in:
nym21
2026-02-24 17:07:35 +01:00
parent cefc8cfd42
commit f74115c6e2
160 changed files with 2604 additions and 4739 deletions

View File

@@ -2,7 +2,7 @@ use brk_error::Result;
use brk_indexer::Indexer;
use vecdb::Exit;
use crate::ComputeIndexes;
use crate::{blocks, outputs, ComputeIndexes};
use super::Vecs;
@@ -10,11 +10,13 @@ impl Vecs {
pub(crate) fn compute(
&mut self,
indexer: &Indexer,
blocks: &blocks::Vecs,
outputs: &outputs::Vecs,
starting_indexes: &ComputeIndexes,
exit: &Exit,
) -> Result<()> {
self.count
.compute(indexer, starting_indexes, exit)?;
.compute(indexer, &blocks.count, &outputs.count, starting_indexes, exit)?;
self.value
.compute(indexer, starting_indexes, exit)?;