On Wednesday, 19 April 2017 at 18:24:46 UTC, Jay Norwood wrote:

Ok, thanks. I took a look at several capnproto implementations just now, and didn't see any tests for a mmap 'feature'. The roadmap doc below indicates it doesn't exist, and perhaps there are some details yet to be resolved to make it 'friendly' for a mmap.

But reading using random access *is* a feature of Cap'n Proto. So when reading a memory mapped Cap'n Proto file, getters will be faster if you use it in a non-sequential way.

The format of Cap'n Proto doesn't currently support *writing* to a memory mapped file.

Reply via email to