In many instances, especially when computing intersections, we generate empty containers that are immediately garbage collected.
There are clever tricks we could use to start scanning the input containers, advance up to the point where there might be values to be intersected, and bail out without generating an empty container if the intersection is empty.
In many instances, especially when computing intersections, we generate empty containers that are immediately garbage collected.
There are clever tricks we could use to start scanning the input containers, advance up to the point where there might be values to be intersected, and bail out without generating an empty container if the intersection is empty.