http://bugzilla.novell.com/show_bug.cgi?id=594286
http://bugzilla.novell.com/show_bug.cgi?id=594286#c0 Summary: IList<int> is very slow compare to .net Classification: Mono Product: Mono: Runtime Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Following code runs more than 10x slower on Mono using System.Diagnostics; using System.Collections.Generic; using System; class C { public static void Main () { IList<int> a = new int [1024 * 50]; var sw = new Stopwatch (); sw.Start (); for (int ii = 0; ii < 1000; ++ii) { for (int i = 1; i < a.Count; ++i) a [i] = a [i - 1]; } sw.Stop (); Console.WriteLine (sw.ElapsedMilliseconds); Console.WriteLine (a); } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
