the feature you're looking for is called opening a memory mapped file. I've seen tremendous performance improvements, but it's a really underused feature for some reason. Memory map Performance is incredible.
My suspicion is that it’s mainly because memory mapping files, while safe for reading, have a whole bunch of edge cases where the file can accidentally be corrupted.
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/hh7...
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
-ss
There's no single API on Windows that does the myriad of things that madvise does.