1
Vote

Heap has useless constract on T

description

Why do you have a constrain that T is IComparable<T>? It would be more efficient to simply take a Comparison<T>, which works for any T and let the user provide the logic.

comments