pub fn parallel_map_indexed<U, F>(count: usize, f: F) -> Vec<U>where U: Send, F: Fn(usize) -> U + Sync + Send,
Parallel map over a range of indices
When parallel features are enabled, uses rayon’s parallel iterator. Otherwise, falls back to sequential iteration.