Saturday, March 12, 2011

Re: [Rails] [RUBY] how do generate a random number w specific distribution ( which library ?)

On 12 March 2011 22:01, Colin Law <clanlaw@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.

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate