IEnumerable<T>.Diff performs comparisons up to four times per pair
Bug #638950 reported by
Phill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NDataflow |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The method uses a multicast followed by a comparison in each stream that performs the filtering. The comparison should be done prior to the multicast and injected into the multicast functions so that it is only performed once per pair of inputs.
To post a comment you must log in.
Upon checking the comparison is performed at most twice for the different and same multicast targets, usually the 'same' multicast target is not implemented that therefore never called.