[Mono-bugs] [Bug 80774][Nor] Changed - [PERF] Low peformance of JIT compiler
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Feb 10 06:21:31 EST 2007
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 juraj at hotfeet.ch.
http://bugzilla.ximian.com/show_bug.cgi?id=80774
--- shadow/80774 2007-02-09 20:24:36.000000000 -0500
+++ shadow/80774.tmp.14627 2007-02-10 06:21:31.000000000 -0500
@@ -63,6 +63,14 @@
Test case
------- Additional Comments From marek.safar at seznam.cz 2007-02-09 20:24 -------
I forget to attach the test case which shows the problem.
I tested this code and not "real" library implementation.
+
+------- Additional Comments From juraj at hotfeet.ch 2007-02-10 06:21 -------
+Just replace Dictionary<string,int> in your test case's main method
+with Hashtable (and "dd.TryGetValue" by dd.Contains or dd[...]) and
+you'll see the time drop.
+For me it went from 1.4s to 0.8s.
+
+I'll look into it today and try to rewrite the code in Dictionary<K,V>.
More information about the mono-bugs
mailing list