Ad
  • Custom User Avatar

    Wrote the whole matrix exponentiation code and got it running consistently at around a quarter of a second to find the millionth Fib number in my IDE but the tests for the kata kept timing out. I just thought "How bleeping fast does this code have to be?"

    Stumbled upon an even faster approach today and when even that timed out I did some more testing and realized that it was the extra logging to the console I had added that was killing the performance...

    Well done, sir