Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78642 --- shadow/78642 2006-06-16 06:54:50.000000000 -0400 +++ shadow/78642.tmp.32220 2006-06-16 09:14:02.000000000 -0400 @@ -336,6 +336,18 @@ Elapsed time =3.153726 [EMAIL PROTECTED] Serdyuk]$ mono PerformanceTest2.exe Elapsed time =3.157437 That is, MS .NET outperforms Mono in more than 2,5 times on this example. + +------- Additional Comments From [EMAIL PROTECTED] 2006-06-16 09:14 ------- +The MS JIT is certainly better than ours, so these kinds of differences +can be expected. Changing 'i' to be an uint improves perf on mono +by about 30% though. + +Some optimizations which can be performed but we don't do it are: +- conversion of division by / 8 into a right shift when the + value to be divided is known to be positive ('i' in the inner loop) +- array bound check removal on the array accesses in the inner loop. + + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
