www.digitalmars.com         C & C++   DMDScript  

D - aliasing

reply "Sean L. Palmer" <spalmer iname.com> writes:
Walter, is there anything at all that can be done about the problem of
missed optimization opportunities due to the issue of potential aliasing?
Should D assume aliasing is happening, as C does?  Or can the compiler just
figure out there's no possiblity of aliasing for a given block of code?

Sean
Nov 12 2001
parent "Walter" <walter digitalmars.com> writes:
"Sean L. Palmer" <spalmer iname.com> wrote in message
news:9so1oe$n85$1 digitaldaemon.com...
 Walter, is there anything at all that can be done about the problem of
 missed optimization opportunities due to the issue of potential aliasing?
 Should D assume aliasing is happening, as C does?  Or can the compiler
just
 figure out there's no possiblity of aliasing for a given block of code?
Aliasing will be explicitly disallowed in array operations, which will enable optimizers to use parallel coding techniques.
Nov 12 2001