HN user

AnanasAttack

47 karma
Posts0
Comments19
View on HN
No posts found.
The Shapes of Code 6 years ago

The comment doesn't explain why there even is an offset in the first place. Who put it there and why? I think this should be explained as well

Thread scheduling (or waking up cores) is slow. Because of this, mutexes will look better on dumb benchmarks, as the contending threads keep going to sleep, while the single succesful owner has practically uncontended access

I've been wondering about the impact of insturction cache misses and potential downsides of executable bloat caused by C++ templates, but have never seen a real case of this being a problem.