by nospam@[EMAIL PROTECTED]
(Richard Maine)
May 5, 2008 at 12:00 AM
Klemens <jokulhlaup@[EMAIL PROTECTED]
> wrote:
> trying to speed up a f90 program I was thinking about the difference
> if I put my subroutines in a module or if I define an interface. Will
> there be any differences in speed for these two approaches ?
No.
Except for the speed of development. Writing interface bodies is
error-prone and thus likely to slow down code development.
Well, ok, that is certainly an overgeneralization, as some are likely to
point out. But I felt I should say more than the one-word answer "no". I
can't really think of any useful elaboration on that other than that it
isn't likely to be a constructive avenue to pursue.
About the closest thing I can think of is the issue of copy-in/copy-out
for array arguments. That doesn't have anything directly to do with
using modules versus interface bodies. But it is at least vaguely
related to the subject of explicit interfaces.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain