> > > Is it a fact that MemSemaphoreReserve() and such will be history? > >> 5.0 > > So tell me, Aaron, how do you do, e.g., this: > convert a record from upper case to lower case. > > Don't tell me to copy it to the dynamic memory, do it there, and write > it back. The performance loss is tremendous. Now what if you > have 100 32K records and want to do this to all of them?
thats pretty much it :) > What if you want to do this to the Les Miserables? > This is, in fact, a real life example. pedit can lower case the entire > book, or at least it can still do it. you have more dynamic heap. why not buffer it? 64k at a time? then, you'll only have to read 64k, modify in ram (fast), write back 64k using DmWrite the increased 'speed' of OS5 devices will make this operation seem like it is faster/taking same amount of time as the MemSemaphoreReserve() technique. fun fun fun :) --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
