ulong getTerm(int i) { return i; }auto sum4 = taskPool.reduce!"a + b"(std.algorithm.map!getTerm(iota(1000000001)));
Re: Parallel processing and further use of output
Jay Norwood via Digitalmars-d-learn Sat, 26 Sep 2015 10:26:53 -0700
This is a work-around to get a ulong result without having the
ulong as the range variable.
- Re: Parallel processing and... Zoidberg via Digitalmars-d-learn
- Re: Parallel processing and... anonymous via Digitalmars-d-learn
- Re: Parallel processing and fur... Russel Winder via Digitalmars-d-learn
- Re: Parallel processing and fur... John Colvin via Digitalmars-d-learn
- Re: Parallel processing and... Russel Winder via Digitalmars-d-learn
- Re: Parallel processing and... Russel Winder via Digitalmars-d-learn
- Re: Parallel processing and... John Colvin via Digitalmars-d-learn
- Re: Parallel processing... Russel Winder via Digitalmars-d-learn
- Re: Parallel processing and further ... Jay Norwood via Digitalmars-d-learn
- Re: Parallel processing and fur... Jay Norwood via Digitalmars-d-learn
- Re: Parallel processing and... Jay Norwood via Digitalmars-d-learn
- Re: Parallel processing... John Colvin via Digitalmars-d-learn
- Re: Parallel processing... Russel Winder via Digitalmars-d-learn
- Re: Parallel processing and fur... Russel Winder via Digitalmars-d-learn
- Re: Parallel processing and fur... Jay Norwood via Digitalmars-d-learn