Reducing the cost of autodecoding

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 12 11:46:30 PDT 2016


On Wednesday, 12 October 2016 at 13:53:03 UTC, Andrei 
Alexandrescu wrote:
> 
> On my machine, with "ldc2 -release -O3 -enable-inlining"

"-O3 -enable-inlining" is synonymous with "-O3"  :-)

With LDC 1.1.0-beta3, you can try with 
"-enable-cross-module-inlining". It won't cross-module inline 
everything (notably: nested functions), but it's a start. If you 
see large performance differences, let me know.

cheers,
   Johan



More information about the Digitalmars-d mailing list