Hello! How does DmFindRecordByID() work? Does it use O(log n) search or it's just a O(n) ? :)
for example:
DmFindRecordByID( ... UInt16 *index, UInt32 ID, ... )
{
.....
for( i=0;i<records_num; i++ ) // :)
{
....
if( record[i].uniqueID == ID ) { *index = i; break; }
....
}
}
Thanks,
Max.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
