I think the confusion comes from thinking so much of a stack as an object that has substance, when really all the properties are places in memory just like a memory variable is. I asked this some years back and the answer I got was that there is no appreciable difference.
One could always devise a test though… Bob S On Dec 14, 2023, at 1:22 PM, Paul Dupuis via use-livecode <use-livecode@lists.runrev.com> wrote: Which is faster or more efficient (from an engine performance perspective)? To retrieve an array from a property? As in: command someHandler -- in an objects script get the cMyArray from me -- cMyArray is some multi-dimensional array ... end someHandler OR To retrieve an array from a script local variable? As in: local sMyArray -- script local variable in some objects script command someHandler -- in an objects script get sMyArray ... end someHandler Anyone know? _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode