January 2020
Intermediate to advanced
312 pages
10h 22m
English
This chapter covers
We ended chapter 5 with a paradoxical situation: using a parallel method and more compute resources was slower than a linear approach with fewer compute resources. Intuitively, we know this is wrong. If we’re using more resources, we should at the very least be as fast as our low-resource effort—hopefully we’re faster. We never want to be slower.
In this chapter, we’ll take a look at how to get the most out of parallelization in two ways:
Parallel map