|
 Originally Posted by SoufSidah09
A contact is designed to hold arrays of strings, ie. First Name, Last, email, cell, etc <-- each one of those are strings and could be defined as 32 bytes max, which means even though you use 1 character in that string it still will take up 32 bytes...
Another thing to consider, is every field still whether blank or not still is added to a contact? so even though you don't have a value for email does it still add the full 32bytes to the contact data? Depends on how the app was written..
I believe the Palm OS originally stored data in a linear fashion, meaning that a simple contact record of "Joe" "Smith" "123-555-1234" was stored as 20 bytes (with maybe a few extra bytes of overhead). "Mary" "Johnson" "123 Main St" "Somewhere" "NY" "12345" "555-5555" would be 46 bytes, and so on. There were no fixed record sizes (at least not in to builit-in PIM databases).
The NVFS is a cluster based system and each "record" occupies one (or more) of those clusters, meaning the same 66 bytes of data above in NVFS is 1024 bytes (2 records @ 512 each). The P1 KB article on NVFS seems to support this theory.
|
|
|