Hi, what is the recommended and/or fastest way for storing something (couple of bytes up to 1 kb) across applications?
In more detail: this applies to hacks or hack-a-like apps on PalmOS 5 using notifications. Usually I would store the (few) data I had and needed to take across in features (FtrSet/FtrGet). This has the disadvantage of not being very fast, also it would only store 4 bytes. As I usually did not have a lot data and speed was either not an issue or my hack was only called rarely, this wasn't a problem. Unfortunately The current project I'm working on needs a bit more features and is called quite often. It works fine using features, mind you, but when the system is under load (like someone is playing a game), the overhead the features cause slows the system down way too much. ATM the routine in question uses only 3 features (totalling 12 bytes) but needs to both read and write to them - being called several times a second this is not very efficient. The alternative of using feature memory doesn't look very promising as the memory resides in the storage heaps and writing to it is slower than using features. An alternative would be to allocate a small chunk of memory, set the owner to 0 (i.e. iirc the memory chunk would only be freed when I do so myself or the system resets) and store a pointer to it in a feature. This would reduce lookups in the feature table massively and writing/reading from that memory chunk would be as fast as possible. I haven't actually tried this yet, but wanted to ask if anybody would say that this is a bad idea or if anybody has a better suggestion. Thanks in advance for your help, With best regards, -- Daniel Seifert <[EMAIL PROTECTED]> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
