About 'use' statement usage
Angelo Graziosi
angelo.g0@libero.it
Thu Sep 6 19:50:00 GMT 2018
> Il 6 settembre 2018 alle 20.45 Janne Blomqvist ha scritto:
>
>
> On Thu, Sep 6, 2018 at 7:01 PM Angelo Graziosi wrote:
>
> > Which is better? CASE1 or CASE 2?
> >
>
> Better in what way?
>
> I'd say from a code clarity point of view, case 2 is better.
>
> From a performance perspective, I'd guess case 1 is better, at least with
> the current module implementation in GFortran.
Thanks Janne, this confirms what I thought.
In CASE 2 we can see "who needs what" while CASE 1 should be faster, at least in compilation...
Thanks a lot for clarification.
Ciao,
Angelo.
More information about the Fortran
mailing list