Re:RustDesk – Open-source TeamViewer alternative
by gpm on Tuesday July 26, 2022 @01:57PM
(#32241537)
Better than a hash map of ids/values is to use slotmap, a library that handles everything safely for you (with generation indexing and free lists behind the scenes).
https://crates.io/crates/slotmap