From: Joel VanderWerf Date: 2008-03-12T04:51:47+09:00 Subject: Re: duplicating characters in a string William James wrote: > Ruby's gsub is far too slow. 7stud even beat it with an each_byte > loop! I have not been able to reproduce a benchmark in which each_byte was faster than gsub (at least, without resorting to the loop unrolling trick). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407