From: Michael Neumann Date: 2001-05-16T01:55:27+09:00 Subject: [ruby-talk:15186] Re: operator idea Christian Szegedy wrote: > You can see how suboptimal the current += operator performs > for strings in the example: > > for i in 1 .. n > str += "hello\n" > end Use str << "hello\n" in this case instead, which do not copy the object. Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de