From a C++/JS benchmark

Walter Bright newshound2 at digitalmars.com
Sat Aug 6 15:21:32 PDT 2011


On 8/6/2011 3:19 PM, bearophile wrote:
> I don't know why passing pointers gives some more performance here, compared
> to passing dynamic arrays (but I have seen the same behaviour in other D
> programs of mine).

A dynamic array is two values being passed, a pointer is one.


More information about the Digitalmars-d mailing list