computer: snapshot

This commit is contained in:
nym21
2026-02-26 23:01:51 +01:00
parent cccaf6b206
commit 78fc5ffcf7
69 changed files with 1578 additions and 2205 deletions
@@ -1,12 +1,13 @@
use derive_more::{Deref, DerefMut};
use brk_traversable::Traversable;
use brk_types::Timestamp;
use vecdb::{Rw, StorageMode};
use crate::internal::{ComputedFromHeightLast, RollingDistribution};
use crate::internal::ComputedFromHeightDistribution;
#[derive(Traversable)]
pub struct Vecs<M: StorageMode = Rw> {
#[derive(Deref, DerefMut, Traversable)]
pub struct Vecs<M: StorageMode = Rw>(
#[traversable(flatten)]
pub interval: ComputedFromHeightLast<Timestamp, M>,
pub interval_rolling: RollingDistribution<Timestamp, M>,
}
pub ComputedFromHeightDistribution<Timestamp, M>,
);