On Sat, Sep 10, 2011 at 11:43 PM, Bartosz Dziewoski
<matma.rex / gmail.com> wrote:
> A marginally faster solution would be
>
> arr.each{|y| y.map!{|z| z.to_i}}
>
> This doesn't create new objects, instead modifying arrays in place.
> It's about 15% faster for me.
>
> Benchmark: https://gist.github.com/1208377
>
> -- Matma Rex
>
>

I didn't mention it, but I was trying not to iterate. But, I guess I
need to if I want to get more speed.

Thanks.

Harry