From: Christoph Date: 2002-12-18T07:07:16+09:00 Subject: Re: Deep copy in Rub? "Florian Frank" wrote in > The only problem is that marshal doesn't copy the frozen flags for the > clone. If it would it could be possible to have "deep_clone" and > "deep_dup". There are other rather serious draw backs with the ``dump -load scheme'': For example, you (normally) cannot dump ``data-structures" involving singleton objects down the road. The (IMO) best|correct solution would would be the introduction of an ``object-walker" scheme providing a unified basis for both Marshalling and deep-copying functionality - check out ... http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/34343 /Christoph