Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question re time and memory cost of DEFINEs
Message
From
11/01/2004 20:32:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Question re time and memory cost of DEFINEs
Miscellaneous
Thread ID:
00865888
Message ID:
00865888
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform