> On Aug 19, 2016, at 10:42 AM, Mark Waddingham <m...@livecode.com> wrote: > > command shareAndStoreKey @xArray, pKey, pValue > set the caseSensitive to true -- this is assuming your values are > sensitive to case > if pValue is not among the keys of sValueCache then > put pValue into sValueCache[pValue] > end if > put sValueCache[pValue] into xArray[pKey] > end command
Hi Mark, We have been doing: put empty into sValueCache[pValue] --as an optimization. How does this compare to: put pValue into sValueCache[pValue] --in terms of performance? Best regards, Mark Talluto livecloud.io canelasoftware.com _______________________________________________ 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