[Mono-bugs] [Bug 22117] New - mcs show implement switch as a jump table when possible

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Mar 2002 09:36:51 -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 lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=22117

--- shadow/22117	Tue Mar 19 04:36:51 2002
+++ shadow/22117.tmp.19855	Tue Mar 19 04:36:51 2002
@@ -0,0 +1,22 @@
+Bug#: 22117
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+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:-)