Replies to message #2,502

  • 🔧 Chat is under maintenance.
    🧊 New server is in an office waiting on a mexican.
byuu

Programming thread

Slow. This takes about a second for the millionth fibonacci number: import numpy Q = numpy.matrix('1 1; 1 0', dtype=object) fib = lambda n ...
Knight of the Rope

Programming thread

Why do you recompute fib[9] even though you've already got it there in the array literal? Surely you'd be better off just setting highest = 9...
Back
Top Bottom