Passing dynamic arrays
bearophile
bearophileHUGS at lycos.com
Mon Nov 8 12:51:13 PST 2010
Jonathan M Davis:
> Daniel Gibson:
> > So maybe yet another solution would be to *really* pass dynamic arrays by
> > reference (like the doc pretends it's already done)?
>
> That would be a devastating change.
That's a solution that I have proposed lot of time ago, I did receive no answers :-)
A disadvantage of passing on default dynamic arrays by reference is a decrease in performance.
Bye,
bearophile
More information about the Digitalmars-d
mailing list