dbrattli/Expression

Feature request: parallel sequence

kavinvin opened this issue · 1 comments

It'd be nice to have parallel sequence to represent parallel execution container for cpu- and/or io-bound function

ys = xs.map(compute)

Example syntax I can suggest is from Scala

ys = xs.par.map(compute)

where xs.par returns ParSequence
https://docs.scala-lang.org/overviews/parallel-collections/overview.html

This is a great suggestion.