差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 | 下次修改 Both sides next revision | ||
java:java8 [2019/08/04 22:04] tony [ParallelStream] |
java:java8 [2019/08/04 23:45] tony [ParallelStream] |
||
---|---|---|---|
行 26: | 行 26: | ||
* [[https://stackoverflow.com/questions/20375176/should-i-always-use-a-parallel-stream-when-possible|Should I always use a parallel stream when possible?]] | * [[https://stackoverflow.com/questions/20375176/should-i-always-use-a-parallel-stream-when-possible|Should I always use a parallel stream when possible?]] | ||
* [[https://qconlondon.com/london-2017/system/files/presentation-slides/concurrenttoparallel.pdf|From Concurrent to Parallel]] | * [[https://qconlondon.com/london-2017/system/files/presentation-slides/concurrenttoparallel.pdf|From Concurrent to Parallel]] | ||
+ | * [[https://www.youtube.com/watch?v=x5akmCWgGY0|Parallel Streams, CompletableFuture, and All That: Concurrency in Java 8]] | ||
==== Thread ==== | ==== Thread ==== | ||
* [[https://stackoverflow.com/questions/21163108/custom-thread-pool-in-java-8-parallel-stream|Custom thread pool in Java 8 parallel stream]] | * [[https://stackoverflow.com/questions/21163108/custom-thread-pool-in-java-8-parallel-stream|Custom thread pool in Java 8 parallel stream]] |