is needed for 'intermediate' representation that helps to typecheck.
This code only get's spliced when the collections will be covered with .toPar as a next step. To remove it it's simpler to find those patterns (WrappedArray(Array).array.toPar) as a separate step and remove them.

I'll include this as an improvement in nearest future, after getting enough unit tests. 

27.11.2013, 18:57, "Aleksandar Prokopec" <notifications@github.com>:
> In src/main/scala/scala/collection/optimizer/package.scala:
>
>> val rewrite: Tree = > - if(whiteListed) > - unPar(q"$seq.toPar.aggregate($zero)($seqop)($comboop)") > - else tree > - // if (whiteListed) println("quasiquote formed " + rewrite + "\n") > - > - super.transform(rewrite) > + if(whiteListed){ > + val seqop = transform(seqopO) > + val comboop = transform(comboopO) > + val zero = transform(zeroO) > + unPar(q"$seq.toPar.aggregate($zero)($seqop)($comboop)")
>
> Does this really mean you box every array into a wrapped array, even if the array was originally a raw array?
>
> I think we should not do this.
>
> —
> Reply to this email directly or view it on GitHub.