Open EamonNerbonne opened 5 years ago
i.e. to sort doubles via a < b || !(a >= b) instead of IComparable, which is considerably faster.
a < b || !(a >= b)
added float+double, since those clearly matter; but only statically - I'm not sure the runtime hit of a dynamic check for the generic case is worth it.
i.e. to sort doubles via
a < b || !(a >= b)
instead of IComparable, which is considerably faster.