Parellel Streams Flashcards

Study of parallel streams and benefits

1
Q

What is parallel stream.

A

A parallel stream is a stream that splits its elements into multiple chunks, processing each chunk with a different thread. Thus, you can automatically partition the workload of a given operation on all the cores of your multicore processor and keep all of them equally busy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly