Comment by speed_spread
5 days ago
The overhead of Mutex for uncontended cases is negligible. If Mutex acquisition starts to measurably limit your production performance, you have options but will probably need to reconsider the use of shared mutable anyway.
No comments yet
Contribute on Hacker News ↗