??? 05/16/07 16:10 Modified: 05/16/07 16:19 Read: times |
#139367 - My Two Cents Responding to: ???'s previous message |
You're on the right track by putting your variables in the "data" and "idata" segments whenever possible.
Some other hints:
One more thing ... as in most things, there are tradeoffs here. Don't worry so much about "efficiency" that you forget other important things like maintainability and readability and portability. Execution speed can be important, but it is usually so only in a few "hot spots" within any given program. Reserve your tricks for those places (assembly language might be the best trick, by the way), and use your energy elsewhere to make your programs easy to read and maintain. -- Russ |