Passing array as const slows down code?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Apr 28 06:03:02 PDT 2012


On 28/04/12 14:53, bearophile wrote:
> I suggest to take a look at the asm in both cases, and compare. Adding "const"
> doesn't cause local copies.

I'm afraid I have no idea how to do that, or what to look for.


More information about the Digitalmars-d-learn mailing list