C++ Logo

SG15

Advanced search

Subject: Re: [SG15] Extending p1184 for direct transfer of BMIs
From: Lyberta (lyberta_at_[hidden])
Date: 2019-08-11 16:07:00


David Blaikie:
> Oh, no, the build system doesn't do anything here other than tell the
> compiler the path to the BMI - the compiler does the memory mapping - given
> a path to the BMI, the compiler doesn't read the bytes with a stream - it
> memory maps the file directly, so it can lazily load/reference components
> of the file. Clang's BMI consists of efficient on-disk hash tables and
> things, so only the necessary portions of a BMI are ever read (always room
> for improvement, all software has bugs, etc - but that's the general goal).

So does the OS cache memory maps between compiler invocations? Even if
all file descriptors are closed between those?




SG15 list run by sg15-owner@lists.isocpp.org

Older archives