Regards Henk
Greg Sepesi wrote:
I'll assume block size = capacity / 2**16
Cheers, Greg
Greg Sepesi wrote:
I'm implementing an n-ary tree stored on VFS. The algorithm's performance is optimized when n is the max number of nodes that fit into the file system's block size. With a reader, I've checked the properties of a couple small files: my 128 MByte SD card has a block size of 2 KByte and my 256 MByte SD card has a block size of 4 KByte.
With PalmOS 5, is there a way to determine block size programmatically?
Cheers, Greg
-- ------------------------------------------------------------------------- Henk Jonas Palm OS � certified developer
[EMAIL PROTECTED] www.metaviewsoft.de -------------------------------------------------------------------------
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
