3 ms·
If your language supports promises, cache the promise and not the result. If it doesn’t support promises, find or write one.
by hinkley 8y ago
If your language supports promises, cache the promise and not the result. If it doesn’t support promises, find or write one.