Also if you can share one single buffer for all your... hm... records? I mean allocate the maximum length and save a couple of new/lock/unlock/free.
kshaff03 wrote:
My app is a little slower than I want it to be. There are some things that I think I can do a little better to speed it up. I was wondering what common operations on the palm take the most amount of time. These are some of the operations that I am using in my function, but feel free to mention others.
MemHandleNew/Lock/Unlock/Free
StrAToI(...)
if (char[index] != NULL) //I assume this usually takes only one comparison
setText(Field, string)
Also, is the function "TimGetTicks()" an effective way to measure performance of a single or small number of operations, or is this an imprecise measurement?
Thanks
Kevin
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
