Skip to content

Seems DistinctByIterator much clearer than DistinctIterator, any chance to make DistinctIterator simpler? #90514

Answered by stephentoub
jjshao-ms asked this question in Ideas
Discussion options

You must be logged in to vote

DistinctIterator is written that way because it allows implementing additional interfaces on the type, something Distinct can take advantage of more so than DistinctBy. You can see how that's utilized in the Distinct.SpeedOpt.cs file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jjshao-ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants