Speeding up importing Phobos files

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Jun 9 07:56:48 UTC 2019


On 6/8/19 6:19 PM, Nick Sabalausky (Abscissa) wrote:
> On 6/8/19 10:48 AM, Andrei Alexandrescu wrote:
>> 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.
> 
> Sheesh, this is *exactly* the sort of "Perfection is the enemy of the 
> good" foot-shooting that's been keeping D years behind where it could be.

I did allow the breaking up of std.algorithm.


More information about the Digitalmars-d mailing list