On Wed, Apr 19, 2000 at 01:48:52PM -0700, Sudipta Ghose wrote:
> You are right Tom. I have tried packing several records in one record. The 
> HotSync time reduced dramatically. We could transfer about 2 MB of data in 3 
> min.s. as opposed 40 mins. However unpacking in Palm took around 36 mins. 
> Thus nullifying all the advantage. As you said it's the process of creating 
> new records that is taking all the time. Only way to improve this is to 
> bypass the OS calls with our own, or optimize the OS calls.
> If we don't need to unpack the records in Palm, we use the packing 
> technique. It only requires some pointer arithmatic. However if we need to 
> keep the records separate, we send them as separate records.

You might be able to do some tricks on the unpack side.  It might be
more efficient to do a lot of DmNewHandle, then DmAttachRecord calls
instead of simply creating the records.  Or always attaching it at
NumRecords.

(I was thinking of finding the slowest parts of PalmOS and writing a
general TurboHack to replace those with optimized assembly...  In my
free time...:).

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to