Garbage collection (crashing on Windows)

Mark Talluto mark at canelasoftware.com
Fri Aug 19 14:37:02 EDT 2016


> On Aug 19, 2016, at 10:42 AM, Mark Waddingham <mark at 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







More information about the Use-livecode mailing list