Hi,

I have a few miscellaneous newbie questions about records...

1) Is DmFindRecordByID() fast?  Is there some index of uniqueID's, or does
it do a linear search of all records?

2) Regarding the purpose of the record index and uniqueID... I presume that
the record index is just a number from a sequential, continous block that
starts at 0, and represents the sequence of the record in the database.
While uniqueID's numbers are not sequential, continous, and do not
necessisarily start at 0, they are guaranteed to not change for the life of
the record, whereas the record index will change with record insertions,
deletions, and moves.  Is that all correct?

3) What is the memory overhead (in bytes) associated with each record?

4) When resizing a record, how do you move data around inside the record
(for inserting/deleting content from the middle of the record)?  Can you
just lock a handle inside the record and use it as the src parameter for
DmWrite?

Thanks,
Jason


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

Reply via email to