> You are worried about 7 ticks to access a database?
> How often are you accessing different databases? Is this
> in some tight loop or something?
>
We are the developers of HandScape - a new Launcher for the Palm - and the
time that takes to draw the icons is critical. Using the db LocalID,
however, is not good enough, i.e - it changes after moving to the Flash
(using FlashPro).
Any other ideas?
Regards,
Dan Hod
R&D Manager
The PalmMate Team
Gotta Palm? Gotta visit www.PalmMate.com
> > >
> > > You'll have to save the database name, if you want a
> > permanent way to
> > point
> > > to a database. Sometimes saving the creator and type will
> > be sufficient,
> > > but remember that there can be multiple databases with the
> > same type and
> > > creator.
> > >
> > > -David Fedor
> > > Palm Developer Support
> > >
> >
> > The reason I am not using the database name is because it
> > takes up to 7
> > ticks to call DmFindDatebase (by its name).
> > DmGetNextDatabase by type creator is not good enough like you
> > said (in case
> > of non application files).
> >
> > Is there something better I can do to get quickest access to
> > a database ?
> >
>
> You are worried about 7 ticks to access a database?
> How often are you accessing different databases? Is this
> in some tight loop or something?
>
> You -can- go overboard on optimizations. Single operations
> performed in isolation are not generally the best places to
> look to shave mere ticks off your code.
>
>
> --
> -Richard M. Hartman
> [EMAIL PROTECTED]
>
> 186,000 mi./sec ... not just a good idea, it's the LAW!
> >
>
>