Speeding up importing Phobos files

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jun 8 14:48:24 UTC 2019


On 6/8/19 5:23 AM, H. S. Teoh wrote:
> It should have been. The old std.algorithm was a monster of 10,000 LOC
> that caused the compiler to exhaust my RAM and thrash on swap before
> dying horribly, when building unittests. It was an embarrassment.

The appropriate response would have been (and still is) to fix the 
compiler. A more compact working set will also accelerate execution due 
to better locality.


More information about the Digitalmars-d mailing list