Fish Touching🐟🎣

Memory Mapped File

Jun 12, 2023

# Benefits

Accessing memory mapped files is faster than using direct read and write operations for two reasons.

# Concepts

It implements demand paging, meaning that file contents are not immediately read from disk and initially use no physical RAM at all. Instead, the actual reads from disk are performed after a specific location is accessed, in a lazy manner.