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.



Dave