> From: Kevin
>
> I have a commerical application that has run fine under
> all 3.x version of PalmOS. Under 4.0 it runs very slowly.
> I have not been able to pinpoint any particular API calls
> that run slower. It appears as if the C code just runs
> slower especially string manipulation and searching.
> Anyone had a similar experience?
>
I think you'll find that StrCompare() and StrNCompare() are slower in the
4.0 SDK. StrNCompare() is now just a cover for
TxtCompare(), so for maximum speed you'd want to call TxtCompare() directly.
If you are certain your app is running only on single-byte char sets with
7-bit ASCII, then you could speed things up even more by using
StrCompareAscii() and StrNCompareAscii() instead.
Ken Krugler could probably tell you more about this whenever he is on the
list.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/