Expand description
Set operations on iterators and streams.
Sorted variants require their inputs to be ascending under a total order
and preserve multiplicity. The unsorted [intersection] runs in O(n*m)
and is provided for convenience when sorting is unavailable.
Modulesยง
- difference_
sorted_ ๐stream2 - intersection ๐
- intersection_
sorted ๐ - intersection_
sorted_ ๐stream2
Functionsยง
- difference_
sorted_ stream2 - Difference of sets
- intersection
- Intersection of sets
- intersection_
sorted - Intersection of sets
- intersection_
sorted_ stream2 - Intersection of sets
- poll_
head ๐ - Lazily fill the cached head of
streamintopeekedand return a borrow.