[Mono-bugs] [Bug 655380] String switch statement 2x slower if compared to simple list of if statements

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 23 07:13:42 EST 2010



--- Comment #13 from Marek Safar <msafar at novell.com> 2010-11-23 12:13:41 UTC ---
You are still not reading it correctly.

I reported observed behaviour on my machine, where am I blaming anyone?

I can see I should be more precise when explaining myself about the if/else
implementation. So, let me get it right

What I meant was that on my mono

182 against 289 is about 0.6x faster which is not ideal but

comparing to

78 against 279 is about 3.5x faster which would be significant but we are not
that fast hence the low priority.

The guy reported 0.70 ms against 0.12 ms on IPhone which seemed to me as to be
too much difference to be caused by hashtable only. I was wrong on "insisting"
that someone investigates the issue as it must be compiler bug.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list