[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
Sat Nov 27 13:48:54 EST 2010


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

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


--- Comment #20 from Miguel de Icaza <miguel at novell.com> 2010-11-27 18:48:54 UTC ---
Kornel, that is a great idea.

I was thinking of doing something based on v[N], but I did not think the
problem through.   Your solution to switch on string length + using determining
differences on the string is very good.

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