|
|
|
|
|
by philippta
232 days ago
|
|
At computerenhance.com[0] Casey Muratori shows that memory mapped files actually perform worse at sequential reads, which is the common case for file access. That’s because the CPU won’t prefetch data as effectively and has to rely on page faults to know what to read next. With regular, sequential file reads, the CPU can be much smarter and prefetch the next page while the program is consuming the previous one. [0] https://www.computerenhance.com/p/memory-mapped-files |
|
[1] https://archive.is/vkdCo