Speeding up importing Phobos files

Guillaume Piolat contact+spam at spam.org
Sat Jun 8 12:43:16 UTC 2019


On Saturday, 8 June 2019 at 09:23:54 UTC, H. S. Teoh wrote:
> On Sat, Jun 08, 2019 at 09:02:46AM +0200, Andrei Alexandrescu 
> via Digitalmars-d wrote:
>> On 1/21/19 4:52 PM, H. S. Teoh wrote:
>> > split up std.algorithm (at Andrei's protest)
>> 
>> Shouldn't have been splitted.
>
> 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 old std.datetime had the same problem and I'm very glad 
> Jonathan eventually also split it up into more sensible chunks.
>
>
> T

+1

It's just about not having too much code in the first place.


More information about the Digitalmars-d mailing list