Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting Down the Computer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00532885
Message ID:
00533219
Vues:
23
>>Since my name has been invoked...I pointed it out because of the extra overhead that the module would incur. If a routine, especially one involving a large number of iterations, repeatly referenced the value,it could improve performance.< s >
>
>Really? It's a pre-processor directive. The actual value should just get compiled into the program, and no look-up should be involved. Thanks, George, I was hoping to spend my morning doing something productive, but now I have some benchmarking to do. :-)

Apparently so, Mike. A while back, some of us did some tests, and they revealed that any #DEFINE (I keep wanting to refer to it as a symbolic constant< g >) involving a function is evaluated at run-time. The theory (at least mine) is that the compiler inserts the function reference wherever the symbol appears.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform