Y
Hacker News
new
|
ask
|
show
|
jobs
by
senorrib
693 days ago
It isn’t. There’s no guarantee that .map will be processed in sequence. In fact, .map is usually a great candidate for parallelization.
1 comments
deredede
692 days ago
The "sequence" in the problem statement does not refer to the order of operations but to the data structure storing the results.
A parallel `Array.map` still computes a sequence, even though it may not compute in sequence.
link
A parallel `Array.map` still computes a sequence, even though it may not compute in sequence.