Am 21.12.2013 16:17, schrieb Jochen Theodorou: [...] > If I first call fib(44) and then fib(45) without memoization, then it > takes much to long to calculate all those BigIntegers.
just for the record... fib(45) indeed works then. I did not test a higher number, because unlike with int, using BigInteger those operations take their sweet time. bye Jochen -- Jochen "blackdrag" Theodorou - Groovy Project Tech Lead blog: http://blackdragsview.blogspot.com/ german groovy discussion newsgroup: de.comp.lang.misc For Groovy programming sources visit http://groovy-lang.org _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev