From: Eric Mahurin Date: 2007-09-07T12:14:02+09:00 Subject: Re: Twisting a Rope (#137) On 9/5/07, Eugene Kalenkovich wrote: > "Eugene Kalenkovich" wrote in message > news:JkJDi.3699$tY2.57@trndny01... > > "Eric Mahurin" wrote in message > > > > >> I added dups to Kalenkovich's code and saw the same 150+MB usage as > >> Munkby's dup code. I still don't understand this. > > > > I'm not sure about Gustav's code, but for my one memory in duping option > > is eaten by normalization, that do not really need any duping at all. > > > > --EK > > I've modified my code to avoid duping in normalization - at a cost of > ugliness :) (too ugly for quiz submission, and anyway, too late :) Here is another issue that is akin to the self-assignment problem in C++: r1 = Rope.new("A") r2 = Rope.new("B") r1<