Hi.How to parallelize a large array to check for the presence of an element matching the value with the data?
std.stdio; std.algorithm; std.parallelism; void main() { int[] a = new int[1000000]; foreach (i, ref elem; a) elem = i; /*if (find(parallel(a), 895639).length != 0) writeln("Yes"); else writeln("No");*/ }