3 ms·
> Not to mention mutexes are just slower in general than having types which are natively Send+Sync Without knowing the implementation, how would you know this
by jpc0 2y ago
> Not to mention mutexes are just slower in general than having types which are natively Send+Sync
Without knowing the implementation, how would you know this statement is true?
I could just stick the Arc<Mutex<T>> within my abstraction and say it is send+sync and it would have the exact same performance, and that might be the most efficient solution possible on the given hardware.
- deleted 2y ago[deleted]