WIN32 Memory Mapping Flashcards

1
Q

Advantages of memory-mapped files

A
  • Allows the programmer to manipulate datastructures without having to deal with I/O functions, the OS manages all the data movement, possibly optimizing
  • Memory-mapping makes application that interact with disk files significantly faster, memory-based algorithms can be applied to files.
  • No need to manage buffers
  • Multiple process can share the same memory-mapped segment with consistency.
  • The mapping does not expand if the file size increases (growing files must be remapped);
How well did you know this?
1
Not at all
2
3
4
5
Perfectly