On 6/24/19 7:00 PM, Brian Milby via use-livecode wrote:
Close, here's the actual code (part of setArrayKeyOnPath):

       put xArray[item 1 of pPath] into tSubArray
       delete variable xArray[item 1 of pPath]
       put tSubArray into xArray[pKey]

Interesting. Wouldn't it be faster to do

put xArray[item 1 of pPath] into xArray[pKey]
delete variable xArray[item 1 of pPath]

i.e., why the extra copy?

--
 Mark Wieder
 [email protected]

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to