[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 10:48:48 EST 2009


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

http://bugzilla.novell.com/show_bug.cgi?id=464929#c4


--- Comment #4 from Marek Safar <msafar at novell.com> 2009-12-11 15:48:47 UTC ---
Yes, as I wrote this is down to our culture sensitive string comparison, if you
need fast string comparison use

list.Sort (StringComparer.Ordinal);

this change makes your code about 20x faster.

-- 
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