> -----Original Message-----
> From: Dan Hod [mailto:[EMAIL PROTECTED]]
> >
> > 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!
>