[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memoizing a function.
- From: "Dan Andersson" <rhq093s@...>
- Date: Sat, 6 Oct 2001 13:29:05 +0200
The calling depth difference is not >10 but rather <2. I pasted the code
in the wrong test program and by mistake trained my version and not the
other. Twice the depth is ok, and all this can be fixed if I use
iterative deepening of the function call value. All this depending on
the existence of an upper bound on the number of calls needed to compute
a function value.
MvH Dan Andersson