assume, assert, enforce, @safe

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 31 08:54:13 PDT 2014


On Thursday, 31 July 2014 at 15:37:23 UTC, Daniel Gibson wrote:
> If removing code makes my code faster, I can do it myself.

No, in general you can't. Opportunities for dead code elimination 
often only present themselves after inlining and/or in generic 
(as in templates) code.

David


More information about the Digitalmars-d mailing list