5 ms·
And even more misunderstood is the cost of exchanging state between CPU cores. A lockless algorithm can be just as slow (or even slower sometimes) than a lock b
by hashmash 6y ago
And even more misunderstood is the cost of exchanging state between CPU cores. A lockless algorithm can be just as slow (or even slower sometimes) than a lock based design simply because of contention at the hardware level.