<div dir="ltr">No, but the files opened here are small (~1KiB), I think it doesn't matter.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 8:07 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> +    // IsVolatileSize=true forces MemoryBuffer to not use mmap().<br>
> +    return check(MemoryBuffer::getFile(<wbr>Path, /*FileSize=*/-1,<br>
> +                                       /*RequiresNullTerminator=*/<wbr>false,<br>
> +                                       /*IsVolatileSize=*/true),<br>
> +                 "could not open " + Path);<br>
<br>
<br>
</span>Have you benchmarked this?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>