From: Michael Neumann Date: 2003-06-13T21:23:09+09:00 Subject: Re: Hispeed String concat On Fri, Jun 13, 2003 at 09:11:30PM +0900, Dominik Werder wrote: > What is the fastest way to add many small Strings to a big buffer? Use the << method. Regards, Michael -- ruby -r complex -e 'c,m,w,h=Complex(-0.75,0.136),50,150,100;puts "P6\n#{w} #{h}\n255";(0...h).each{|j|(0...w).each{|i| n,z=0,Complex(.9*i/w,.9*j/h);while n<=m&&(z-c).abs<=2;z=z*z+c;n+=1 end;print [10+n*15,0,rand*99].pack("C*")}}'|display