hgello,
? How many allocations of about 64K can one do?
in the storage heap? as many as will fit.
? What if I need to load an entire record, is it possible to load all that data, about 64K into a dynamically allocated buffer If I were to say parse XML, would it make sense to load as much as I can into memory and operate on that for speed or should I iterate the data directly w/in the storage heap?
speed? reading storage and dynamic heap is the same speed they are on the same RAM chip. writing to storage in supported methods is slow, but MemSemaphore* functions are supported in all m68k devices.
--- Roger Stringer <[EMAIL PROTECTED]> wrote: > At 04:17 AM 7/21/2006, you wrote: > >Subject: No of records > >From: "Jagat Nibas Mahapatra" > <[EMAIL PROTECTED]> > >Date: Thu, 20 Jul 2006 15:06:33 +0530 > > > >What is the maximum number of records I can create > in a palm database ? > > Palm OS "databases" can have up to 64K "records" and > each can be up > to 64KB in size. > > Having said that, most people try to keep the number > of "records" > less than 16K, for reasons that having been much > discussed in the archives. > > Do remember that Palm OS "databases" aren't > databases in the normal > understanding of that word. > > Also you can view the "records" as variable length > blocks into which > you can stuff your records. > Using blocking techniques, you can achieve very > large record > counts. For example I have some library customers > with over 200,000 records. > > So if your application has low to moderate record > counts, just treat > the "records" as records. But if you have high > record counts you'd > be strongly advised to implement blocking techniques > on those "databases". > > > Roger Stringer > Marietta Systems, Inc. (www.rf-tp.com) > > -- > For information on using the PalmSource Developer > Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ Regards, Andrew Scheurer 858-449-2557 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: DmitryGrinberg MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/