I have 30 pdb files on an SD card and import them using VFSImportDatabaseFromFile. The recordsizes are fixed at 20, 22 and 26 bytes variously for the pdbs.
Not accounting for chunking and overhead, the total size should be 6.7 Meg. We install on a hard-booted Zire, so there should be 13.8 Meg free. However, after we use VFSImportDatabaseFromFile for all 30 pdbs, we only have 800K left. We would like to increase the efficiency. It seems as if the import is creating 1 chunk per record, or near to that, thus drastically reducing the efficiency. We don't import in any particular order. Should we import largest pdbs first? Are there techniques to improve the effeciency of the VFSImportDatabaseFromFile function? Or, should we open the file with VFS and create the database with DM functions, basically replicating the functionality of VFSImportDatabaseFromFile? (Yuck!) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
