http://bugzilla.novell.com/show_bug.cgi?id=630636
http://bugzilla.novell.com/show_bug.cgi?id=630636#c0 Summary: Slow struct operations Classification: Mono Product: Mono: Runtime Version: SVN 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: --- using System; using System.Diagnostics; public sealed class Program { struct S { long l; } public static void Main() { Stopwatch sw; S[] i = new S [100000]; sw = Stopwatch.StartNew(); for (int nn = 0; nn < 10000; ++nn) for (int n = 0; n < i.Length; n++) i [n] = new S (); Console.WriteLine(sw.Elapsed + "\tM"); Console.WriteLine (i); } } I don't really know which part causes the slowdown but here the numbers NET 00:00:01.3267627 Mono 00:00:06.0474786 -- 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
