pub struct SipConfig {
pub search_workers: usize,
pub update_workers: usize,
pub index: FrontIndex,
pub index_threshold: usize,
pub delta_min: usize,
pub delta_divisor: usize,
pub block_size: usize,
}Expand description
Worker counts, the snapshot index and its thresholds for sip_mosp.
The thresholds only decide when a snapshot is consolidated and how its base is summarized; they never change the answer.
Fields§
§search_workers: usizeSearch workers, at least 1.
update_workers: usizeUpdate workers for non-goal states, at least 1. A goal worker runs in addition.
index: FrontIndexThe index over snapshot bases: FrontIndex::Blocks is SIP-MOSP-BM,
FrontIndex::Tree SIP-MOSP-ST.
index_threshold: usizeFrontiers smaller than this are published as an unindexed base only
(the paper’s θ_I). Default 64.
delta_min: usizeThe delta is folded into a rebuilt base once it holds
max(delta_min, |F| / delta_divisor) vectors (the paper’s adaptive
θ_Δ(|F|)). Default 8.
delta_divisor: usizeSee SipConfig::delta_min; at least 1. Default 8.
block_size: usizeVectors per block of FrontIndex::Blocks; at least 1. Default 16.
Implementations§
Trait Implementations§
impl Copy for SipConfig
impl Eq for SipConfig
impl StructuralPartialEq for SipConfig
Auto Trait Implementations§
impl Forget for SipConfig
impl Freeze for SipConfig
impl Move for SipConfig
impl RefUnwindSafe for SipConfig
impl Send for SipConfig
impl Sync for SipConfig
impl Unpin for SipConfig
impl UnsafeUnpin for SipConfig
impl UnwindSafe for SipConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more