3 ms·
Mmapped files are typically quicker than lots of fseeking and read()ing and write()ing because they avoid the non-trivial syscall overhead. This has been a ver
by willvarfar 15y ago
Mmapped files are typically quicker than lots of fseeking and read()ing and write()ing because they avoid the non-trivial syscall overhead. This has been a very big driver in the adoption of mmapped files, even those not backed by disk.