http://bugzilla.novell.com/show_bug.cgi?id=506070

http://bugzilla.novell.com/show_bug.cgi?id=506070#c5


--- Comment #5 from Alan McGovern <[email protected]> 2010-04-01 10:21:08 
UTC ---
Created an attachment (id=351968)
 --> (http://bugzilla.novell.com/attachment.cgi?id=351968)
benchmark for explicitly using Comparer<T>.Default

There's one more case we could optimise:

Array.Sort <T>(new T [10], Comparer<T>.Default);

We can catch this case and hit the fastpath for value types pretty easily as in
the above patch. Is this worth committing?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to