> + // IsVolatileSize=true forces MemoryBuffer to not use mmap(). > + return check(MemoryBuffer::getFile(Path, /*FileSize=*/-1, > + /*RequiresNullTerminator=*/false, > + /*IsVolatileSize=*/true), > + "could not open " + Path); Have you benchmarked this? Cheers, Rafael