tsink 0.10.2

A lightweight embedded time-series database with a straightforward API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::SeriesRegistry;

mod memory;
mod persistence;
mod postings;
mod registration;
mod value_family;

pub(super) fn assert_memory_usage_reconciled(registry: &SeriesRegistry) {
    assert_eq!(
        registry.memory_usage_bytes(),
        registry.recompute_memory_usage_bytes(),
        "incremental registry memory accounting drifted from a full recompute",
    );
}