If you use the small code model for your multi-segment app, and you arrange your code into segments in a logical way, the number of slow calls from one segment to another will be low, and the performance will be good. A large single segment application that uses the smart or large code model will be slower.
Sharing global variables between segments doesn't require anything special on your part. However, if you break your code up into multiple compilation units, you have to get the compiler and linker to share global variables between compilation units (.c files). Any good book on C will explain how to do this. See, for example, page 103 of "C: A reference manual" by Harbison and Steele. -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/