Has Anyone Got A Directory \\\"Walker\\\" Available

Richard Gaskin ambassador at fourthworld.com
Mon May 7 15:19:37 EDT 2018


Mark Wieder wrote:

 > On 05/06/2018 02:42 PM, Richard Gaskin via use-livecode wrote:
 >
 >> Did copy-on-write get changed in v9, or is the scope of its effects
 >> just more limited than I had understood it to be?
 >
 > I'm still at the point of not trusting copy-on-write yet, but I think
 > you're misinterpreting your results. If I'm understanding the way in
 > which LC has implemented copy-on-write, then whether or not you use
 > references in parameters, the "return p-1" code will have to make a
 > copy on the stack to return a value - you can't just return a
 > reference. So all you're changing by removing the "@" is one level of
 > copying.

That makes sense.  Thanks.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the Use-livecode mailing list