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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=367354#c3





--- Comment #3 from Juraj Skripsky <[EMAIL PROTECTED]>  2008-03-06 04:52:10 MST 
---
Hey Paolo, thanks for the optimization!

I should have been clearer in what point I was trying to make. I didn't mean to
compare the performance of MS.NET with Mono, merely the performance of IsInt
vs. IsInt2/IsInt3 above.

The results on MS.NET confirmed my expectations that Type.GetTypeCode + Switch
should be much faster than (t == typeof(...) || t == typeof(...) || ...). This
isn't the case on Mono and I thought it should/could be. But I have only an
extremely rough idea of what is going behind the scenes in Type.GetTypeCode...


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to