On 19 Jan 2008, at 16:21, Dave Thomas wrote: > > On Jan 18, 2008, at 9:59 PM, yermej wrote: > >> That one took awhile - 5m29s real time vs 1m2s real time for the >> Illiad - though the increase is close to linear given the number of >> characters in each text (3285165 vs. 806921). > > > I've got the same output for both examples. Current times are 2.767s > and 12.894s elapsed on a 3GHz processor. > > Ruby's clever copy-on-write string handling really shines here. Hmm, I was happy with my solution (similiar times to yermej on 1.8GHz) until I saw Dave's times. I'm really looking forward to seeing the code. /dh >