[Joke] C++ and D namings
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Wed Jan 20 10:07:14 UTC 2021
On Wednesday, 20 January 2021 at 10:00:01 UTC, Dukc wrote:
> On Wednesday, 20 January 2021 at 09:53:34 UTC, Ola Fosheim
> Grostad wrote:
> Not in this case, as the caller knows `arr` is a only
> referenced locally. Had `foo` received `arr` as argument, then
> `sum` would have to be `pure` for the optimization.
Yes, sure. I was thinking in terms of optimizing utility
functions. You still also have to deal with aliasing when you
have multiple in params.
More information about the Digitalmars-d
mailing list