This memoizing seems similar to “dynamic programming” (which is, semi-predictably, neither quite dynamic nor stricto sensu programming). Have you considered that angle?
This memoizing seems similar to “dynamic programming” (which is, semi-predictably, neither quite dynamic nor stricto sensu programming). Have you considered that angle?