From: Tony Arcieri Date: 2012-02-18T02:12:44+09:00 Subject: Re: Factorial --0015175cfc8675eb0904b92c0d00 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 17, 2012 at 1:35 AM, Junayeed Ahnaf Nirjhor < zombiegenerator@aol.com> wrote: > Hello, > > What is the most efficient way in Ruby to calculate the factorial of any > given sum? Is there any way to make it as fast as in C? > > Complexity doesn't matter as long as it works correctly. > Just precalculate all the factorials and put them in Mongodb. -- Tony Arcieri --0015175cfc8675eb0904b92c0d00--