3 ms·
Why acquire the lock first, then check the cache? Instead of check the cache first, and only acquire lock on cache miss? Seems like a lot of unnecessary locking
by jtsiskin 5y ago
Why acquire the lock first, then check the cache? Instead of check the cache first, and only acquire lock on cache miss? Seems like a lot of unnecessary locking