Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question re time and memory cost of DEFINEs
Message
De
11/01/2004 20:32:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Question re time and memory cost of DEFINEs
Divers
Thread ID:
00865888
Message ID:
00865888
Vues:
52
I am creating a class with methods that call win32 functions and am wondering if I should place the DEFINEs in a single method, spread them out in the appropriate functions, or *shudder* place them in the programs that use the class.

1) If all DEFINEs are in a single method, is there a big overhead to this? Memory, time?
2) If they are spread out, is there a large downside because a DEFINE is run many times? If that is not desirable, is there a way to know if a function has already been defined?

TIA,

Alex
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform