2 ms·
inb4 some smartass says mmap is the second coming. I've been burned every which way using mmap. only use it when you identify a specific case that is sped up.
by anacrolix 2y ago
inb4 some smartass says mmap is the second coming.
I've been burned every which way using mmap. only use it when you identify a specific case that is sped up. a few examples that have worked are: linear indexes that involve a lot of seeks. fancy memory configurations like transparent ring buffers. loading executable code...
trouble starts when you do multi process sync, interact with networked filesystems, windows, or green threaded runtimes