So in the book, it talks about using Sequences when you have a large data set so you don’t incur the larger memory in dealing with each filter map function compared to using a standard List or Iterable.
In my gist
https://gist.github.com/simon-tse-hs/7dce88df4c0870b8d580205c587ea6ac I wrote some code to average out over 1000 iterations of running filter map from 100-1,000,000 times