Which is faster...

Paul Dupuis paul at researchware.com
Thu Dec 14 16:22:13 EST 2023


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?



More information about the use-livecode mailing list