patch applied (hat): Enable sharing of traced methods that are cafs.
10 Oct
2006
10 Oct
'06
4:33 p.m.
Thu Apr 19 07:26:13 PDT 2001 olaf * Enable sharing of traced methods that are cafs. Methods definitions were always transformed as functions, even when they had arity 0. The reason was that an instance or class definition may not contain definitions for any other variables than the class variables. Such additional definitions are necessary to implement the sharing of cafs. Now the transformation distinguishes between the transformed definitions for the original variables and additional auxillary definitions. The latter are put just behind the instance/class definitions. The Mate trace file gets 1% smaller. Surprisingly runtime seems to slow down by 2-3%. M ./src/compiler98/DbgTrans.hs -86 +106
7038
Age (days ago)
7038
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace