5 ms·
may also apply to Rust where we often make use of reference counting when the borrow checker isn’t enough
by gameswithgo 6y ago
may also apply to Rust where we often make use of reference counting when the borrow checker isn’t enough
- vlovich123 6y agoARC probably yes (assuming the standard library annotates the atomic operations properly). RC no. That being said, it sounds like in general uncontended atomic operations are faster so this might benefit a lot of atomic code in any language.