Hacker News new | ask | show | jobs
by IshKebab 276 days ago
For example if someone uses a linked list where a vector would have worked. Vectors are much faster, partly due to better spatial locality.
1 comments

Ok (that's a naive performance problem), and you speed that up, but now a shared resource is used mutably more often, leading to frequent locking and more overall pauses. How would you read that from your code?