Can you recommend a crate that has a good concurrent hashmap implementation that allows to do an atomic "insert if not exists" operation?
How do I do "insert if not exists" atomically in DashMap
?
try_entry() then or_insert() should do it.
Ok, thanks, when reading the docs, it wasn't apparent to me that getting an entry
actually locks it.