3 ms·
Caching comes with a bunch of strings attached of which recalculating the values is the least problematic.
by sorokod 7y ago
Caching comes with a bunch of strings attached of which recalculating the values is the least problematic.
- Twisol 7y agoI think the name “cached value” is a red herring, as far as the mindset being described is considered. “Derived value” might be closer to the mark; the values are pure functions of other things, and to change the derived value you must change the things it depends on. There need not be any mention of storing that derived value in a cache and somehow invalidating it.