See above about streaming (chunking is basically the same thing).
mmaping is a form of uncontrolled chunking, where chunk size and location is determined by operating system's filesytem caching policy, readahead heuristics, and the like. As a result, it can sometimes have much worse performance than an explicit chunking strategy, especially if you just treat it as magic.
Or to put it another way, mmaping is helpful but you still need to understand why it might help and how to use it.
mmaping is a form of uncontrolled chunking, where chunk size and location is determined by operating system's filesytem caching policy, readahead heuristics, and the like. As a result, it can sometimes have much worse performance than an explicit chunking strategy, especially if you just treat it as magic.
Or to put it another way, mmaping is helpful but you still need to understand why it might help and how to use it.