[Mono-bugs] [Bug 464929] Sorting strings is 10x slower than MS.NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 11 17:17:50 EST 2009



--- Comment #5 from Jonathan Chambers <joncham at gmail.com> 2009-12-11 22:17:48 UTC ---
Two corrections to my comment. I had a bug in my test case. 

For sorting an int[] we are about 2X slower than .Net running our Sort on .Net.
Migrating to qsort makes us 5-10% faster. For the currently non-shortcut cases
(not int[], double[], char[]) we are 2.5-3X slower that .Net on .Net. Adding
special cases for these makes use a little less than 2X slower.

With a custom Comparer we are a little more than 3X as slow as .Net on .Net,
not 5X.

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.

More information about the mono-bugs mailing list