[Mono-bugs] [Bug 75444][Nor] Changed - [GMCS] bad generic method instantations performance

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 2 19:32:28 EDT 2005


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 malekith at pld-linux.org.

http://bugzilla.ximian.com/show_bug.cgi?id=75444

--- shadow/75444	2005-07-02 19:28:52.000000000 -0400
+++ shadow/75444.tmp.5057	2005-07-02 19:32:28.000000000 -0400
@@ -126,6 +126,13 @@
 quadratic, not linear.
 
 ------- Additional Comments From malekith at pld-linux.org  2005-07-02 19:28 -------
 Created an attachment (id=15419)
 improve hashing of generic types
 
+
+------- Additional Comments From malekith at pld-linux.org  2005-07-02 19:32 -------
+The attached patch changes hashing of generic instances to take into
+account generic parameters. While this adds overhead to hashing
+functions (so I don't know if it suitable for mono trunk), it reduces
+number of conflicts, and thus almost doubles Nemerle compiler
+performance (405s -> 224s, 50s -> 28s). It's still slow though...


More information about the mono-bugs mailing list