Using persist() here saves the intermediate result (mobileViews) in memory which can make other computation that relies on the result faster. Besides memory, persist() can also keep the intermediate result in other storage devices such as a disk.
teapot
Users can also choose to persist the data on SSDs as noted later in the lecture.
Using persist() here saves the intermediate result (mobileViews) in memory which can make other computation that relies on the result faster. Besides memory, persist() can also keep the intermediate result in other storage devices such as a disk.