On 12 March 2011 22:16, Michael Pavling <pavl...@gmail.com> wrote:
> On 12 March 2011 22:01, Colin Law <clan...@googlemail.com> wrote:
>> OK, I admit defeat.  the benefit of your technique is even greater on 1.8.7,
>> taking only 0.67 secs on my machine.
>
> Nah! Who cares if it takes half-a-second or a second to select a
> million random numbers.... any of the methods are perfect for
> selecting one number.

The OP might be doing some statistical simulation, so might need
millions of values, but probably not.

Colin

>
> Was a nice distraction from the recent run of posts...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to