Post increment and decrement

welkam via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 20 15:52:52 PDT 2015


On Friday, 20 March 2015 at 22:01:35 UTC, deadalnix wrote:
>
> Now end up you data gathering :
>
> Turn them around (sed can do that for you), recompile, 
> benchmark, and see that it does not change anything at the end.

I do not know exact implementation of D compiler but I guess it 
generates code and then optimises it away. If thats the case then 
you slow down your compilation unnecessarily. Also having 
language construct that is being used only 15% of the time 
correctly is not great. And D has foreach. In C++ world this is 
even worse.

Is this a big problem? Not really, but its still a problem.


More information about the Digitalmars-d mailing list