On 12/17/2014 1:29 PM, "Ola Fosheim Grøstad" <ola.fosheim.grostad+dl...@gmail.com>" wrote:
On Wednesday, 17 December 2014 at 20:48:39 UTC, Walter Bright wrote:
I know how to do binary formats - the Digital Mars C++ compiler does
precompiled headers using memory mapped files.

It isn't worth it.

Maybe not for headerfiles, but if you have an indexed database representing a
compiled framework (partial evaluation/incomplete type support in templates) it
should pay off if you preload the pages you need to access. If you run low on
memory it also means you don't have to save pages to disk, the OS can just evict
them.

You're welcome to try it. I've spent a great deal of time on it, and it doesn't pay off.

Reply via email to