A set based on a RB-Tree for efficient operations.
- stay sorted
- efficient operations: for
nitems insert, delete and search areO(log n) - partial iteration: iterate from a node reference instead of the full set
- repack: allow to optimize data organization on demand
See the documentation for more details and examples: https://docs.rs/rbtset/latest/rbtset/struct.RBTreeSet.html