Ruby Fibonacci Shootout
christopherroach.com
Ruby Fibonacci Shootout
1–10 of 15 posts
Re: Ruby Fibonacci Shootout
#2Re: Ruby Fibonacci Shootout
#3But, then again, it doesn't really matter. Is Ruby fast enough to work for most uses? Yes. If you really, really, really care about execution speed, would you use Ruby? I don't know. If you care that much about execution speed, you will probably do more benchmarks than I care to think of.
Re: Ruby Fibonacci Shootout
#4Re: Ruby Fibonacci Shootout
#5Huh? Where's the results? Or are readers supposed to run the code and send their results or something? But there's no timing check in the code he posted anyway.
Re: Ruby Fibonacci Shootout
#6 object Main {
def fib(n : int) : int = {
if(n "+fib(i).toString)
}
}
}Re: Ruby Fibonacci Shootout
#7Apparently Firefox doesn't like the self-closing script tag?
Re: Ruby Fibonacci Shootout
#8Huh? Where's the results? Or are readers supposed to run the code and send their results or something? But there's no timing check in the code he posted anyway.
They don't render in IE (tested in 8); it cuts the article in half.
Re: Ruby Fibonacci Shootout
#9I kept staring at this page, and yet despite its brevity, I could not find the results. Apparently Firefox doesn't like the self-closing script tag?