In this episode we refactor the current solution to use memory mapped files instead of chunked reading with a FileHandle. This requires us to do a bit of pointer wrangling, but in the end we get it back to a working state albeit with just a few small bugs.
Links mmap (Wikipedia) Memory sharing in Linux with MMAP Note there are some notable mistakes in this episode (especially with the hashing bits at the end), which we will correct in the next episode. It is valuable to leave in as a topic for explanation in the next episode!