3 ms·
Rust's standard Mutex type has been improved to the point that they're now competitive or faster than parking_lot, at least on Linux: https://github.com/rust-la
by kibwen 4y ago
Rust's standard Mutex type has been improved to the point that they're now competitive or faster than parking_lot, at least on Linux: https://github.com/rust-lang/rust/pull/95035#issuecomment-1073966631 https://github.com/rust-lang/rust/pull/95035#issuecomment-10...
Channels appear to be trickier, but it might be possible to upstream crossbeam's version of those as well (it's certainly been proposed and discussed for years).
- rapsey 4y agoLocking api in std returns Result which is very annoying.