Skip to main content

split_boundaries_parallel

Function split_boundaries_parallel 

Source
pub fn split_boundaries_parallel(
    buf: &[u8],
    n_splits: usize,
) -> Vec<FlushBoundary>
Expand description

Parallel split-point search: Nāˆ’1 gatling workers each find the nearest flush boundary at or after their nominal byte offset.

n_splits is typically the number of physical cores. Returns up to n_splits āˆ’ 1 boundaries, sorted and deduplicated.