4 ms·
Reminds me of when I replaced a read-write lock around generating a new object instance with an atomic reference instead. I personally put that one into the lat
by jdmichal 9y ago
Reminds me of when I replaced a read-write lock around generating a new object instance with an atomic reference instead. I personally put that one into the latter of your two cases... But the performance improvement certainly looked heroic!