The performance of MappableFlatSet::overlap_range and MappableFlatMultiSet::overlap_range could potentially be improved by storing bidirectionally sorted and mutually exclusive sub-ranges. This would come at the cost of additional memory usage, so behaviour could potentially be customised at compile time.
The performance of
MappableFlatSet::overlap_rangeandMappableFlatMultiSet::overlap_rangecould potentially be improved by storing bidirectionally sorted and mutually exclusive sub-ranges. This would come at the cost of additional memory usage, so behaviour could potentially be customised at compile time.