On 28 June 2017 at 13:19, Mike via D.gnu <d.gnu@puremagic.com> wrote: > > PR507 eems to have made a mild improvement. >
OK, so will pull it in. As what has already been said, if you aren't doing already, always use --enable-checking=release, any other value (apart from none) is for testing builds only. You probably want to tone down on optimizations as well. -O3 will be doing a lot of work, sometimes for little or no gain. In most cases, -O2 -finline-functions is good enough, which can be abbreviated further as simply -Os. [for full list of enabled/disabled passes: gdc -Q -Os --help=optimizers] You can see a breakdown of what areas the compiler spends the most time in with -ftime-report Regards, Iain.