[squeak-dev] [Help] How do you work deep copier?

Stéphane Rollandin lecteur at zogotounga.net
Sun Apr 25 08:33:41 UTC 2010


> I tried looking into it further but deep copy is a horror.

#veryDeepInner: and #veryDeepFixupWith: are the key methods driving the 
fine behavior of a very deep copy (what is shared, deep copied or very 
deep copied)

There are many implementors of those. By studying them you should see 
how the copy mechanism work. You can then decide how to copy or share 
the inst vars you wants.


Stef





More information about the Squeak-dev mailing list