On Fri, Jun 25, 2010 at 1:01 PM, botp <botpena / gmail.com> wrote:
> On Fri, Jun 25, 2010 at 1:16 AM, Michael Fellinger > I've just run
> some benchmarks with strscan, and it's at least in the
>> same ballpark as the other approaches, unless you're on rubinius, but
>> then all string processing is really slow on that anyway.
>>
>> Benchmark with strscan here: http://gist.github.com/451675
>>
>
> that is not fair for strscan.. you are recreating the object inside the loop :)

That's not fair for the others, and doesn't make any difference in the
benchmark anyway.

-- 
Michael Fellinger
CTO, The Rubyists, LLC