Reducing source code: weak+alias values in array

Jens Bauer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 1 20:28:20 PDT 2015


On Saturday, 2 May 2015 at 03:21:38 UTC, Jens Bauer wrote:
> For some reason, my build time has increased dramatically...
>
> Building with 1 vector takes 0.6 seconds.
> Building with 2 vector takes 0.7 seconds.
> Building with 4 vector takes 0.9 seconds.
> Building with 8 vector takes 1.1 seconds.
> Building with 16 vectors takes 1.7 seconds.
> Building with 32 vectors takes 3.4 seconds.
> Building with 64 vectors takes 12.4 seconds.
> Building with 112 vectors takes 55.5 seconds.
> Building with 113 vectors takes 56.7 seconds.

Here's the source code for the file I'm building:

http://pastebin.com/pCh9e7hQ


More information about the Digitalmars-d-learn mailing list