pub fn parallel_map<T, U, F>(data: &[T], f: F) -> Vec<U>where T: Sync, U: Send, F: Fn(&T) -> U + Sync + Send,
Parallel map over a slice