mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When initializing a range set with a group of overlapping, identical, or empty ranges, the initializer can exhibit poor performance due to removing the unneeded ranges during processing. This change uses a partitioning scheme instead, only removing the unnecessary ranges at the end of initialization.
20 KiB
20 KiB