3 ms·
Those aren't caching. They're dynamic programming. There's a profound difference and it's about scope and reachability. Edit: and about who's driving.
by hinkley 4y ago
Those aren't caching. They're dynamic programming. There's a profound difference and it's about scope and reachability.
Edit: and about who's driving.
- wahern 4y agoMemoization is caching and a form of dynamic programming; thus caching is sometimes an important tool in dynamic programming. But the fact that caching can be useful, even essential if your scenario demands such a clear-cut space-time tradeoff as in memoization, seems beside your point.