3 ms·
That's what mmap is for.
by dfranke 5y ago
That's what mmap is for.
- deleted 5y ago[deleted]
- haydnv 5y agoIt might be possible to replace freqfs with mmap on a POSIX OS, but a) you would still have to implement your own read-write lock, and b) you would (I think probably?) lose some consistency in behavior across different host operating systems.
- gpderetta 5y agommaps for read, explicit API for writing, a-la LMDB. Buggy readers can read inconsistent data but cannot corrupt the os.
- vlovich123 5y agoWhich OSes does this run on that doesn’t have some kind of mmap operation?