On 7/12/04 12:25 PM, Troy Rollins wrote:

So, it further occurred to me that leaving the inherent stack mechanisms out of my list of data storage tools for session data might be limiting my best choice (at times.)

It depends on what you are doing. Note that while stack-based storage is expandable and convenient, access is slow. I don't think I'd create temporary stacks for data storage except in those cases where I wanted to save them to disk as preference files, or similar.


Globals and script locals have the fastest access. Custom props are pretty fast, but still slower than variables. Stack-based data stored in a separate stack is slower yet, and if the stack has to be read from disk, it is very slow.

If speed doesn't matter, then base your storage methods on convenience. If speed does matter, use variables.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to