Post increment and decrement
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Sun Mar 15 12:34:11 PDT 2015
On Sunday, 15 March 2015 at 08:45:55 UTC, Jonathan M Davis wrote:
> cost you anything, and you can't rely on the compiler's ability
> to optimize
If you want performance and can't rely on optimizations, you can
only use assembler.
> because the C++ standards committee didn't restrict the
> overloaded increment
> (or decrement) operators enough to enable the compiler to
> optimize them
> properly.
Optimizer optimizes any code, it doesn't matter, what the code
does.
More information about the Digitalmars-d
mailing list