3 ms·
Think vgel's answer to you was helpful. There are other techniques too, such as https://docs.rs/crossbeam-epoch/latest/crossbeam_epoch/ https://docs.rs/crossbe
by cjg 4y ago
Think vgel's answer to you was helpful.
There are other techniques too, such as https://docs.rs/crossbeam-epoch/latest/crossbeam_epoch/ https://docs.rs/crossbeam-epoch/latest/crossbeam_epoch/
You can also use Rc/RefCell rather than Arc/Mutex if you don't need a multi-thread capable structure. You can always wrap a Mutex round the tree as a whole instead.