[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 10:22:55 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=655380

https://bugzilla.novell.com/show_bug.cgi?id=655380#c16


--- Comment #16 from Mantas Puida <mantas at unity3d.com> 2010-11-23 15:22:55 UTC ---
Did the test with 10000 iterations:
switch : 450-550 ms
if : 30-45 ms

Ratio between switch and if remains about the same.

-- 
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