1
Vote

Sorting.Exchange with T[] missing

description

There should be an overload for arrays instead of IList<T> to avoid 3 virtual calls when swapping 2 elements. Swapping is a critical operations in algorithms and should be implemented efficiently.

comments