From: Logan Capaldo Date: 2007-08-27T12:21:56+09:00 Subject: Re: sort_by { rand } not working On 8/26/07, Stefan Rusterholz wrote: > You could even use @all.length.times :) (IMHO more readable, speed wise > it is faster for small arrays, slower for big arrays, break even is here > around 100 items). > @all.each_index { ... } ? > Regards > Stefan > -- > Posted via http://www.ruby-forum.com/. > >