[Mono-bugs] [Bug 73936][Min] Changed - gmcs does not optimize for space

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Mar 2005 15:35:34 -0500 (EST)

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 nazgul@omega.pl.


--- shadow/73936	2005-03-21 15:25:40.000000000 -0500
+++ shadow/73936.tmp.25660	2005-03-21 15:35:34.000000000 -0500
@@ -133,6 +133,26 @@
 On mono it is faster though.
 The fact that csc do not optimize self tail call is the proof that it
 is lame compiler, not that this is the *right* thing.
+------- Additional Comments From nazgul@omega.pl  2005-03-21 15:35 -------
+> About xplatform, what I am saying is that if you rely on -O=tailc,
+> your program won't work on the msft jit unless they do something 
+> similar.
+This way of thinking is IMHO wrong. Self tail calls it just an
+optimization, it helps in 99,999% of cases. 
+Is there some policy in mono that forbids you to optimize cases, which
+are not optimized in MS.NET? 
+For example exception handling is much faster in mono than in MS.NET,
+does it mean we should make it slower, so people relying on it will
+not suffer from "incompatibilities"? It doesn't make much sense.
+I also do not think that people can get "habits" of using too much
+exceptions or recursive like programming just because it is fast in
+mono, most of them will know that other runtimes might not handle it
+well or/and test it.
+Of course this is a FEATURE, but it would be nice to see it in mcs/gmcs.