--- Brian Smith <[EMAIL PROTECTED]> wrote:
> 
> My question is this... is there any additional overhead 
> (as far as dynamic memory consumed) for a resource 
> database as opposed to a regular database?
> 

One small difference is in the info for each entry in the database
header.  For a resource database, each entry has three parts: 

  Type - a 32-bit integer
  ID   - a 16-bit integer
  Data - a handle to a movable chunk

For a record database, each entry has these parts:

  Attribute - an 8-bit integer
  UniqueID  - a 24-bit integer
  Data      - a handle to a movable chunk

So, the record headers for resource databases appear to require 16 more
bytes.

Just this morning, Jim Schram posted a link
(http://oasis.palm.com/dev/kb/papers/2029.cfm) to a paper that contains
this info, plus more interesting details about "Palm OS� Memory and
Database Management".


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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

Reply via email to