4 ms·
While the default behavior of this library is to map the entire file into address space (and also the default assumption that people have regarding mmap), you c
by kaslai 6y ago
While the default behavior of this library is to map the entire file into address space (and also the default assumption that people have regarding mmap), you can map specific portions of a file into memory to avoid virtual address exhaustion. It's just far less convenient to do so, though typically still faster than the alternatives.