Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Performance tests show Ruby as fast as

Name: Anonymous 2009-04-04 3:40

I'll tell you tomorrow.

Name: Anonymous 2009-04-04 17:04

>>8
can ruby do this?

fib = (function(i)
         i < 2 ?
         0 :
         arguments.callee(i - 1) +
         (function(i)
           i < 2 ?
           1 :
           arguments.callee.caller(i - 1))(i-1))(n + 1)


even LISP can't do this.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List