[Mono-bugs] [Bug 73936][Min] Changed - gmcs does not optimize for space
Mon, 21 Mar 2005 15:22:41 -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 firstname.lastname@example.org.
--- shadow/73936 2005-03-21 13:51:41.000000000 -0500
+++ shadow/73936.tmp.25367 2005-03-21 15:22:41.000000000 -0500
@@ -101,6 +101,19 @@
A note about not making recursive calls: I made a mistake in my
report; the tail instruction is for non-recursive tail calls. It's
standard practice to compile tail recursive calls into unconditional
branches to the top instead.
+------- Additional Comments From email@example.com 2005-03-21 15:22 -------
+It is probably a bit hard to detect if the tail call can actually be
+done in mcs.
+There is already a jit optimization, -O=tailc, which you can enable
+(though this isn't supported, and may not catch all cases).
+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.
+In general, c# compilers don't make optimizations for recursive styles
+of programming as most people just don't do that in c#.