Cleaned up C++
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 25 14:26:25 PDT 2015
On 4/22/15 1:36 PM, John Colvin wrote:
>
> Is it even possible to contrive a case where
> 1) The default initialisation stores are technically dead and
> 2) Modern compilers can't tell they are dead and elide them and
> 3) Doing the initialisation has a significant performance impact?
>
> The boring example is "extra code causes instruction cache misses".
I've seen statically-sized arrays causing problems. -- Andrei
More information about the Digitalmars-d
mailing list