On Thu, Jun 24, 2010 at 5:45 PM, Danny Challis <dannychallis / gmail.com> wro=
te:
> Thanks Jesus,
> =A0 =A0This method actually decreased the runtime by quite a bit, so than=
ks
> for the help! =A0However, I still need something even faster if it exists=
,
> so any other ideas would be appreciated. =A0I may have to just implement
> this part is C or something.

I suppose that if you implement a C method that does what I did in
Ruby, that would be faster.
I mean doing the loop in C and calling String#index from there.

Jesus.