11 ms·
The idea would be that you abstract it as a pure function and then you can layer on caching later, when you find out it's needed. The idea is not to always cach
by brundolf 7y ago
The idea would be that you abstract it as a pure function and then you can layer on caching later, when you find out it's needed. The idea is not to always cache values, but to recognize when that's what you're doing and keep it separate from the rest of your state.