I have an app that currently allocates memory in the dynamic (as opposed to storage) area of RAM to hold text for multiple scrollable "windows". I need to make some room for some later features, though, so I'm considering moving this buffer storage to the storage area of RAM. Would I be seeing any kind of noticeable slow-down in doing this? I haven't had a chance yet to try it out.
Specifically what I plan to do is allocate a fixed-size record per display window in a database, and manage what's inside that record (as scrolling occurs) myself. That way, I don't have the overhead that would definitely impact things if I were dealing with dozens of one-line records, deleting and appending those as text was displayed. What I'm doing right now is allocating one block of memory to store a line (after word wrapping) and keeping an array of handles. Those blocks are allocated and freed as text is displayed. ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator Have you had yours today? Humor Break - http://www.arthurian.nu/hb/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
