Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 load(libdir + "parallelarray-helpers.js");
2
3 function testReduce() {
4 function sum(v, p) { return v+p; }
5 assertArraySeqParResultsEq(range(1, 513), "reduce", sum);
6 }
7
8 if (getBuildConfiguration().parallelJS)
9 testReduce();