[Mono-dev] [Patch] Generic Array.Sort
Ben Maurer
bmaurer at ximian.com
Fri Aug 19 01:08:19 EDT 2005
> Hey,
>
> I've attached a patch containing the impl for the generic versions of
> Array.Sort.
1) all the combsort stuff can probably go, IMHO -- With generics, we will
be able to inline stuff (it will take a bit of jit optimization though --
we basically need to do inlining).
2) qsort <T> is unused
3) compare<T> should be removed. You should use Comparer <T>.Default. I
specially coded this class to be fast.
-- Ben
More information about the Mono-devel-list
mailing list