Memory mapped files

Memory mapped files can improve file I/O speed.
Useful for file reading.
Need to know the size for file writing, so it’s more tricky.

A library for example:

My benchmark(hopefully correct) results for reading:


boost one is boost.iostreams.

Urho currently uses fread.

1 Like