3 ms·
You might like https://docs.rs/arc-swap/latest/arc_swap/ https://docs.rs/arc-swap/latest/arc_swap/
by yencabulator 1y ago
You might like https://docs.rs/arc-swap/latest/arc_swap/ https://docs.rs/arc-swap/latest/arc_swap/
- nyanpasu64 1y agoAIUI epoch GC doesn't require Arc's atomic increment/decrement operations which can be slower than naive loads (https://codeberg.org/nyanpasu64/cachebash https://codeberg.org/nyanpasu64/cachebash), but at this point we're getting into nano-optimization territory.
- dochtman 1y agoWe tried this when we were benchmarking and it was not significantly better than the Arc<RwLock<_>> that we're using now.