static arrays.
torhu
fake at address.dude
Wed Jan 31 07:56:21 PST 2007
Dave wrote:
> Whoops - I should have made it clear that the programs perform roughly the same (D being about 10%
> faster), but only if the static matrices are passed byref (using pointer params) in D.
>
I'm not sure what you mean. Static arrays in D are passed as the
address of the first element. They are compatible with C arrays, at
least in this respect. So the speedup has to be caused by something else.
More information about the Digitalmars-d
mailing list