- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I am taking the plunge into the wonderful world of IVF 11.1... At last...
Among all the very exciting new features of IVF 11.1 the ASSOCIATE construct seems to be of great benefit for my code. I manipulate many complicated structures with nested derived type components. So I end up with variables which look like A(10)%B(1:3)%C(25)%D.
Hereis my question: It seems that ASSOCIATE(xxx => yyy) ismostly a convenient syntactic feature that helps make a code more manageable (easy to write/understand); but there is probably more than meet the (my) eye here and I am wondering ifthere isa penalty to pay for this at run time; or if the ASSOCIATE construct is *compiled out* when compiling the application.
Thanks in advance for shedding some light on this topic,
Olivier
Among all the very exciting new features of IVF 11.1 the ASSOCIATE construct seems to be of great benefit for my code. I manipulate many complicated structures with nested derived type components. So I end up with variables which look like A(10)%B(1:3)%C(25)%D.
Hereis my question: It seems that ASSOCIATE(xxx => yyy) ismostly a convenient syntactic feature that helps make a code more manageable (easy to write/understand); but there is probably more than meet the (my) eye here and I am wondering ifthere isa penalty to pay for this at run time; or if the ASSOCIATE construct is *compiled out* when compiling the application.
Thanks in advance for shedding some light on this topic,
Olivier
- Marcas:
- Intel® Fortran Compiler
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Not that I can think of. It's primarily dealt with at compile-time. Offhand, I don't know of any extra run-time overhead for it.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora