Open
Description
Hi! I ran some tests with the PartialSort
operator, and it seems that it uses the comparer
more frequently than necessary. For most items it should be enough to check only if the item is smaller that the smallest of the top items, but instead it performs a binary-search operation invariably for each item.
I have posted my findings on StackOverflow, in this answer. It seems that the implementation of the PartialSort
could be optimized.
Metadata
Metadata
Assignees
Labels
No labels