A set of non-overlapping
On insertion, slices that would overlap with the inserted value are merged with the inserted value.
||Creates a new set.|
||Iterates on the register slices in the set.|
||Returns the number of slices in the set.|
||Adds the passed register slice to the set.|
||Removes the passed register slice from the set.|
Creates a new set.
|items:||An iterator over the slices initially present in the set. Overlapping slices will be merged upon addition.|
Iterates on the register slices in the set.
Adds the passed register slice to the set.
The passed slice can overlap with existing slices in the set. In that case, the slices will be merged.
Removes the passed register slice from the set.
This will remove the intersection between the passed slice and any slice that overlaps with it.