Van Snyder asked:
>Is
>it common for compilers to generate code that suppresses taking copies
>if the elements of the dummy argument are contiguous?
Well, NAGWare f90/f95 has done that for some years now.
Since copying is such a big performance loser, any serious optimising
compiler should do it. IMNSHO.
>Now suppose nearly the same question, with rank higher than one. What's
>the situation in that case?
We do that too.
Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
([log in to unmask])
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|