2 ms·
Never confuse caching with precalculation. Caches can go away while being used, or show up too late, leading to strange timing and shared state issues. A precal
by hinkley 3y ago
Never confuse caching with precalculation. Caches can go away while being used, or show up too late, leading to strange timing and shared state issues. A precalculated list is static. It is a knowable quantity.
It’s very much like the DRY problem where you take two pieces of similarly shaped code with different purposes and merge them, creating problems later on. They look the same, but they exist for very different reasons and do not conflate them.
If there’s a set of questions that most configure calls are bound to make, you can work those out at first run or install time. Install time gets weird with system and hardware upgrades.