Memoized fibbonacci even better
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
a054c1673e
commit
c8430d6081
|
@ -32,7 +32,7 @@ func TestMemoizedFib(t *testing.T) {
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Log(Fib(40))
|
t.Log(fib(40))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestThunkFib(t *testing.T) {
|
func TestThunkFib(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue