If you are fortunate enough to have enough data (a rare ocurance), you could
always do something like the following:

UInt32 a;
UInt32 b;
UInt32 time = TimGetTicks();
DmFindDatabase(...);
a = TimGetTicks() - time;
time = TimGetTicks();
DmFindNextDatabaseByTypeCreator(...);
b = TimGetTicks() - time;
if (a < b)
        SysFatalAlert("DmFindDatabase is faster");
else
        SysFatalAlert("DMFindNextDatabaseByTypeCreator is faster");

The SysFatalAlert statements are fine for debugging and testing because by
default, the reset button merely closes the dialog.

Hope this helps.

Wojtek wrote:

> which one of them is faster?
> 
> Wojtek
> 
> 
> --


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to