Skip to main content

parallel_scan_default

Function parallel_scan_default 

Source
pub fn parallel_scan_default<T, U, F>(input: &[T], worker: F) -> Vec<U>
where T: Send + Sync + Clone + 'static, U: Send + 'static, F: Fn(&[T]) -> Vec<U> + Send + Sync + 'static,
Expand description

Phase 3.4 wiring entry point. Calls parallel_scan with default_parallelism() worker count. Used by the runtime scan executor when its planner cost model decides parallel is profitable (input size > MIN_PARALLEL_ROWS). Saves the caller from manually threading the worker count through.