I actually tried DmNewHandle and DmAttachRecord, instead of DmNewRecord. It
didn't help. I was always attaching at NumRecords.
-Sugho-
>From: Tom Zerucha <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Re: Installing a PDB file takes a lot of time
>Date: Wed, 19 Apr 2000 18:18:12 -0400
>
>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
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html