MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1uwz2fj/understanding_stdshared_mutex_from_c17/oy4qnlc/?context=3
r/cpp • u/Xadartt • Jul 15 '26
7 comments sorted by
View all comments
Show parent comment
2
I just replaced a mutex with a shared_mutex and read/read-write locks for our translation cache. The benchmarked scenario had about 5 million lookups vs. 35k inserts. The read/read-write implementation won by a landslide.
View all comments
Show parent comment
2
u/IGarFieldI Jul 17 '26
I just replaced a mutex with a shared_mutex and read/read-write locks for our translation cache. The benchmarked scenario had about 5 million lookups vs. 35k inserts. The read/read-write implementation won by a landslide.