[Mono-bugs] [Bug 535425] Slow performance of <string>.Contains(), <string>.BeginsWith etc. Compared to MS'.NET runtime

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 29 23:33:40 EDT 2009


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

User joncham at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535425#c5


Jonathan Chambers <joncham at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joncham at gmail.com




--- Comment #5 from Jonathan Chambers <joncham at gmail.com>  2009-09-29 21:33:38 MDT ---
Using the following test case on .Net indicates they do a Ordinal comparison.
This returns false under .Net and true under current mono.

using System;
using System.Globalization;
using System.Threading;

public class OrdinalTest
{
    public static void Main()
    {
        bool found = "encyclopædia".Contains("encyclopaedia");

        Console.WriteLine(found);
    }
}

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