[OT] compiler optimisations

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 23 18:58:25 PDT 2015


On 4/23/2015 1:33 AM, John Colvin wrote:
> Is there a good reason for this,

Modern compilers check for literally thousands of such patterns, and more are 
constantly added. There's an infinitely "long tail" of these patterns possible, 
and at some point, you have to ship the compiler.

The ones that get added are the ones that, unsurprisingly, are brought to the 
compiler writers' attention, usually via a benchmark example that they are 
losing :-)


More information about the Digitalmars-d mailing list