[Mono-bugs] [Bug 22117] Changed - mcs show implement switch as a jump table when possible
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
20 Mar 2002 00:34:45 -0000
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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=22117
--- shadow/22117 Tue Mar 19 04:36:51 2002
+++ shadow/22117.tmp.2388 Tue Mar 19 19:34:45 2002
@@ -2,13 +2,13 @@
Product: Mono/MCS
Version: unspecified
OS: other
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: lupus@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -17,6 +17,10 @@
Summary: mcs show implement switch as a jump table when possible
A mcs-compiled mcs is significantly slower than a csc-compiled mcs.
I think is is mostly due to the fact that switch is implemented always as a
chain of ifs instead of a jump table.
Wishlist priority, but would be really nice to have:-)
+
+------- Additional Comments From miguel@ximian.com 2002-03-19 19:34 -------
+This will require some serious work, that is why it has not been
+implemented. But the logic is not hard, anyone can do it ;-)