Speeding up importing Phobos files

Neia Neutuladh neia at ikeran.org
Tue Jan 22 03:39:12 UTC 2019


On Tue, 22 Jan 2019 00:46:32 +0000, Arun Chandrasekaran wrote:
> If you still think the file read is the culprint, why does recompilation
> take the same amount of time as the first compilation (albeit kernel
> file cache)?

And another quick way to test this is to use import() and a hard-coded 
switch statement instead of IO. Just get rid of all disk access and see 
how fast you can compile code. I'm betting you'll save 10% at most.


More information about the Digitalmars-d mailing list