Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For example if someone uses a linked list where a vector would have worked. Vectors are much faster, partly due to better spatial locality.


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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: